From 64ea341eae04949f473ded67c21b15de38c86efb Mon Sep 17 00:00:00 2001 From: "aditya.chandel" <> Date: Tue, 21 Jan 2025 12:09:03 -0700 Subject: [PATCH] Use shelf menu for shelf --- .../src/app/layout/component/layout-menu/app.menu.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/booklore-ui/src/app/layout/component/layout-menu/app.menu.component.ts b/booklore-ui/src/app/layout/component/layout-menu/app.menu.component.ts index 001d7e5b9..4eecd9475 100644 --- a/booklore-ui/src/app/layout/component/layout-menu/app.menu.component.ts +++ b/booklore-ui/src/app/layout/component/layout-menu/app.menu.component.ts @@ -49,7 +49,7 @@ export class AppMenuComponent implements OnInit { label: 'Shelves', separator: false, items: state.shelves?.map((shelf) => ({ - menu: this.libraryShelfMenuService.initializeLibraryMenuItems(shelf), + menu: this.libraryShelfMenuService.initializeShelfMenuItems(shelf), label: shelf.name, type: 'Shelf', icon: 'pi pi-' + shelf.icon,