From a3cc878cb8d97e41bd2a96dff5ddafa361a34525 Mon Sep 17 00:00:00 2001 From: xcashy <50643533+xcashy@users.noreply.github.com> Date: Fri, 9 Jan 2026 21:56:15 +0100 Subject: [PATCH] fix(ui): use view preference override for magic shelves (#2215) --- .../book/components/book-browser/book-browser.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/booklore-ui/src/app/features/book/components/book-browser/book-browser.component.ts b/booklore-ui/src/app/features/book/components/book-browser/book-browser.component.ts index 34481c8c0..628a26329 100644 --- a/booklore-ui/src/app/features/book/components/book-browser/book-browser.component.ts +++ b/booklore-ui/src/app/features/book/components/book-browser/book-browser.component.ts @@ -327,7 +327,7 @@ export class BookBrowserComponent implements OnInit, AfterViewInit { this.entityViewPreferences = user.user?.userSettings?.entityViewPreferences; const globalPrefs = this.entityViewPreferences?.global; - const currentEntityTypeStr = this.entityType ? this.entityType.toString().toUpperCase() : undefined; + const currentEntityTypeStr = this.entityType ? this.entityType.toString().toUpperCase().replaceAll(' ', '_') : undefined; this.coverScalePreferenceService.initScaleValue(this.coverScalePreferenceService.scaleFactor); this.columnPreferenceService.initPreferences(user.user?.userSettings?.tableColumnPreference); this.visibleColumns = this.columnPreferenceService.visibleColumns;