feat: allow the hiding of the header (#202)

This commit is contained in:
Matt Kilgore
2024-09-07 15:09:40 -04:00
committed by GitHub
parent c428a22b5b
commit 2fee607327
5 changed files with 17 additions and 3 deletions

View File

@@ -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 }
);