sidebar fix
This commit is contained in:
parent
fab39a3776
commit
254a289e2a
|
@ -98,8 +98,10 @@ export class SidebarComponent implements OnInit {
|
||||||
title: 'SIDE-BAR.PUBLIC',
|
title: 'SIDE-BAR.PUBLIC',
|
||||||
routes: [],
|
routes: [],
|
||||||
}
|
}
|
||||||
this.publicItems.routes.push({ path: '/explore-plans', title: 'SIDE-BAR.PUBLIC-DMPS', icon: 'library_books' });
|
if (!this.isAuthenticated()) {
|
||||||
this.publicItems.routes.push({ path: '/explore-descriptions', title: 'SIDE-BAR.PUBLIC-DESC', icon: 'dns' });
|
this.publicItems.routes.push({ path: '/explore-plans', title: 'SIDE-BAR.PUBLIC-DMPS', icon: 'library_books' });
|
||||||
|
this.publicItems.routes.push({ path: '/explore-descriptions', title: 'SIDE-BAR.PUBLIC-DESC', icon: 'dns' });
|
||||||
|
}
|
||||||
this.groupMenuItems.push(this.publicItems);
|
this.groupMenuItems.push(this.publicItems);
|
||||||
|
|
||||||
this.adminItems = {
|
this.adminItems = {
|
||||||
|
|
Loading…
Reference in New Issue