mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-21 14:03:32 -07:00
update common settings if language changes
This commit is contained in:
parent
3b778328d5
commit
2727eebc49
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@ import type { AutoFormItems } from "~/types/auto-forms";
|
|||
export const useCommonSettingsForm = () => {
|
||||
const i18n = useI18n();
|
||||
|
||||
const commonSettingsForm: AutoFormItems = [
|
||||
const commonSettingsForm = computed<AutoFormItems>(() => [
|
||||
{
|
||||
section: i18n.t("profile.group-settings"),
|
||||
label: i18n.t("group.enable-public-access"),
|
||||
|
@ -21,7 +21,7 @@ export const useCommonSettingsForm = () => {
|
|||
type: fieldTypes.BOOLEAN,
|
||||
rules: ["required"],
|
||||
},
|
||||
];
|
||||
]);
|
||||
|
||||
return {
|
||||
commonSettingsForm,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue