From be16c7ef3c284fec28a73eeb2feb8bf8f5c54d27 Mon Sep 17 00:00:00 2001 From: Sergio Visinoni Date: Wed, 28 Jan 2026 00:27:34 +0100 Subject: [PATCH] fix(ui): clean cached properties (#2499) This fixes the issue with buttons and icons reported in #2472 due to properties being cached. --- .../features/book/service/library-shelf-menu.service.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/booklore-ui/src/app/features/book/service/library-shelf-menu.service.ts b/booklore-ui/src/app/features/book/service/library-shelf-menu.service.ts index 79ac095bc..dc951f5cb 100644 --- a/booklore-ui/src/app/features/book/service/library-shelf-menu.service.ts +++ b/booklore-ui/src/app/features/book/service/library-shelf-menu.service.ts @@ -60,6 +60,13 @@ export class LibraryShelfMenuService { this.confirmationService.confirm({ message: `Are you sure you want to refresh library: ${entity?.name}?`, header: 'Confirmation', + icon: undefined, + acceptLabel: 'Yes', + rejectLabel: 'Cancel', + acceptIcon: undefined, + rejectIcon: undefined, + acceptButtonStyleClass: undefined, + rejectButtonStyleClass: undefined, rejectButtonProps: { label: 'Cancel', severity: 'secondary',