sidebar fix

This commit is contained in:
Efstratios Giannopoulos 2024-04-12 18:02:54 +03:00
parent fab39a3776
commit 254a289e2a
1 changed files with 4 additions and 2 deletions

View File

@ -98,8 +98,10 @@ export class SidebarComponent implements OnInit {
title: 'SIDE-BAR.PUBLIC',
routes: [],
}
if (!this.isAuthenticated()) {
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.adminItems = {