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:
Tonya
2025-05-04 17:11:28 +00:00
committed by GitHub
parent 16bcffac45
commit 89aaa8c595
5 changed files with 59 additions and 11 deletions

View File

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