mirror of
https://github.com/sysadminsmedia/homebox.git
synced 2025-12-24 06:28:34 +01:00
add override locale selector for dates and currencies (#648)
* feat: add override locale selector * fix: dateExample computed property to ensure Vue updates with locale changes in LanguageSelector.vue
This commit is contained in:
@@ -14,6 +14,7 @@ export type LocationViewPreferences = {
|
||||
tableHeaders?: TableHeaderType[];
|
||||
displayHeaderDecor: boolean;
|
||||
language?: string;
|
||||
overrideFormatLocale?: string;
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -32,6 +33,7 @@ export function useViewPreferences(): Ref<LocationViewPreferences> {
|
||||
itemsPerTablePage: 10,
|
||||
displayHeaderDecor: true,
|
||||
language: null,
|
||||
overrideFormatLocale: null,
|
||||
},
|
||||
{ mergeDefaults: true }
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user