Add option to collapse books in a series

This commit is contained in:
aditya.chandel
2025-06-10 18:21:56 -06:00
committed by Aditya Chandel
parent 24eac9ea76
commit 6596c3298b
19 changed files with 745 additions and 512 deletions
@@ -16,7 +16,8 @@ export interface EntityViewPreference {
sortKey: string;
sortDir: 'ASC' | 'DESC';
view: 'GRID' | 'TABLE';
coverSize: number
coverSize: number;
seriesCollapsed: boolean;
}
export interface EntityViewPreferenceOverride {
@@ -175,7 +175,8 @@ export class ViewPreferencesComponent implements OnInit {
sortKey: o.sort,
sortDir: o.sortDir,
view: o.view,
coverSize: existing?.coverSize ?? 1.0
coverSize: existing?.coverSize ?? 1.0,
seriesCollapsed: existing?.seriesCollapsed ?? false
}
};
});