mirror of
https://github.com/sysadminsmedia/homebox.git
synced 2025-12-28 16:06:37 +01:00
feat: allow the hiding of the header (#202)
This commit is contained in:
@@ -10,6 +10,7 @@ export type LocationViewPreferences = {
|
||||
itemDisplayView: ViewType;
|
||||
theme: DaisyTheme;
|
||||
itemsPerTablePage: number;
|
||||
displayHeaderDecor: boolean;
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -26,6 +27,7 @@ export function useViewPreferences(): Ref<LocationViewPreferences> {
|
||||
itemDisplayView: "card",
|
||||
theme: "homebox",
|
||||
itemsPerTablePage: 10,
|
||||
displayHeaderDecor: true,
|
||||
},
|
||||
{ mergeDefaults: true }
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user