fix lint
This commit is contained in:
parent
4906c23953
commit
f56d455cca
|
@ -11,8 +11,8 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
<div :class="$style.body">
|
||||
<MkRadio
|
||||
v-for="option in options"
|
||||
v-model="model"
|
||||
:key="getKey(option.value)"
|
||||
v-model="model"
|
||||
:disabled="option.disabled"
|
||||
:value="option.value"
|
||||
>
|
||||
|
|
|
@ -10,11 +10,11 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
<div class="_gaps_m">
|
||||
<SearchMarker :keywords="['entrance', 'welcome', 'landing', 'front', 'home', 'page', 'style']">
|
||||
<MkRadios
|
||||
v-model="entrancePageStyle"
|
||||
:options="[
|
||||
{ value: 'classic' },
|
||||
{ value: 'simple' },
|
||||
]"
|
||||
v-model="entrancePageStyle"
|
||||
>
|
||||
<template #label><SearchLabel>{{ i18n.ts._serverSettings.entrancePageStyle }}</SearchLabel></template>
|
||||
</MkRadios>
|
||||
|
|
|
@ -113,12 +113,13 @@ import { i18n } from '@/i18n.js';
|
|||
import { ensureSignin } from '@/i.js';
|
||||
import { deepClone } from '@/utility/clone.js';
|
||||
import MkButton from '@/components/MkButton.vue';
|
||||
import MkRadios, { type RadioOption } from '@/components/MkRadios.vue';
|
||||
import MkRadios from '@/components/MkRadios.vue';
|
||||
import MkRadios2 from '@/components/MkRadios2.vue';
|
||||
import MkSwitch from '@/components/MkSwitch.vue';
|
||||
import MkFolder from '@/components/MkFolder.vue';
|
||||
import * as os from '@/os.js';
|
||||
import type { MenuItem } from '@/types/menu.js';
|
||||
import type { RadioOption } from '@/components/MkRadios.vue';
|
||||
import { useRouter } from '@/router.js';
|
||||
|
||||
const $i = ensureSignin();
|
||||
|
|
|
@ -117,8 +117,9 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
import { computed, ref, watch } from 'vue';
|
||||
import XPalette from './emoji-palette.palette.vue';
|
||||
import type { MkSelectItem } from '@/components/MkSelect.vue';
|
||||
import type { RadioOption } from '@/components/MkRadios.vue';
|
||||
import { genId } from '@/utility/id.js';
|
||||
import MkRadios, { type RadioOption } from '@/components/MkRadios.vue';
|
||||
import MkRadios from '@/components/MkRadios.vue';
|
||||
import MkButton from '@/components/MkButton.vue';
|
||||
import FormSection from '@/components/form/section.vue';
|
||||
import MkSelect from '@/components/MkSelect.vue';
|
||||
|
|
Loading…
Reference in New Issue