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