Delete LibraryBrowser component
This commit is contained in:
@@ -20,7 +20,7 @@ export class AppMenuComponent implements OnInit {
|
||||
separator: false,
|
||||
items: libraries.map((lib) => ({
|
||||
label: lib.name,
|
||||
icon: 'pi pi-fw pi-home',
|
||||
icon: 'pi pi-fw pi-book',
|
||||
routerLink: [`/library/${lib.id}/books`],
|
||||
})),
|
||||
},
|
||||
@@ -49,15 +49,4 @@ export class AppMenuComponent implements OnInit {
|
||||
ngOnInit() {
|
||||
this.populateHome();
|
||||
}
|
||||
|
||||
private populateHome() {
|
||||
this.home = [
|
||||
{
|
||||
label: 'Home',
|
||||
items: [
|
||||
{label: 'Dashboard', icon: 'pi pi-fw pi-home', routerLink: ['/']},
|
||||
],
|
||||
},
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user