refactor: always use shorthand object properties

This commit is contained in:
2026-08-09 13:09:39 +02:00
committed by Gitea
parent e1dab8a4c7
commit 0a7bf94c4c
3 changed files with 3 additions and 3 deletions
@@ -89,7 +89,7 @@ describe('SettingsInput', () => {
const wrapper = getWrapper({ const wrapper = getWrapper({
type: 'string', type: 'string',
i18n: 'input', i18n: 'input',
defaultValue: defaultValue, defaultValue,
piniaOptions: { piniaOptions: {
setupStores: () => { setupStores: () => {
const store = useSettingsStore(); const store = useSettingsStore();
@@ -30,7 +30,7 @@ const getWrapper = function getWrapper({ content = [], translations = {}, piniaO
name: 'section', name: 'section',
type: 'section', type: 'section',
i18n: 'section', i18n: 'section',
content: content content
}, },
path: 'section' path: 'section'
} }
+1 -1
View File
@@ -34,7 +34,7 @@ export const SUPPORTED_LANGUAGES = [
export const i18n = createI18n({ export const i18n = createI18n({
legacy: false, legacy: false,
locale: fallbackLocale, locale: fallbackLocale,
fallbackLocale: fallbackLocale, fallbackLocale,
messages: {} messages: {}
}); });