Menu link update
This commit is contained in:
@@ -69,8 +69,8 @@ export class FullComponent implements OnInit, OnDestroy {
|
||||
(userData) => {
|
||||
this.currentUser = userData;
|
||||
if (this.currentUser.role === 'Admin') {
|
||||
//this.links = this.menuItems.getMenuItemsAdmin();
|
||||
this.links = this.menuItems.getMenuItems();
|
||||
this.links = this.menuItems.getMenuItemsAdmin();
|
||||
//this.links = this.menuItems.getMenuItems();
|
||||
} else {
|
||||
this.links = this.menuItems.getMenuItems();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user