Revamp state management

This commit is contained in:
aditya.chandel
2024-12-22 11:57:06 -07:00
parent e343e7e7f3
commit 4704d9f5f0
17 changed files with 624 additions and 419 deletions
@@ -31,7 +31,7 @@ export class AppMenuComponent implements OnInit {
}
libraryMenu = computed(() => {
const libraries = this.libraryBookService.libraries();
const libraries = this.libraryBookService.getLibraries()();
return [
{
label: 'Library',
@@ -46,7 +46,7 @@ export class AppMenuComponent implements OnInit {
});
shelfMenu = computed(() => {
const shelves = this.libraryBookService.shelves();
const shelves = this.libraryBookService.getShelves()();
return [
{
label: 'Shelves',