From 2b2e9953ab1748c929d6cc81ea632069b58bd7be Mon Sep 17 00:00:00 2001 From: Bertrand Zuchuat Date: Tue, 10 Oct 2023 14:14:53 +0200 Subject: [PATCH] library switch: always show the menu * Closes rero/rero-ils#3477. Co-Authored-by: Bertrand Zuchuat --- .../admin/src/app/menu/service/library-switch-menu.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/admin/src/app/menu/service/library-switch-menu.service.ts b/projects/admin/src/app/menu/service/library-switch-menu.service.ts index 268dcb5f2..416ac7fbd 100644 --- a/projects/admin/src/app/menu/service/library-switch-menu.service.ts +++ b/projects/admin/src/app/menu/service/library-switch-menu.service.ts @@ -40,7 +40,7 @@ export class LibrarySwitchMenuService { /** menu is visible */ get visible(): boolean { - return this._userService.user.patronLibrarian.libraries.length > 1; + return this._userService.user.patronLibrarian.libraries.length > 0; } /** Get menu */