mirror of
https://github.com/sim1222/misskey.git
synced 2025-08-04 15:53:51 +09:00
fix: experimental-features settings routing2
This commit is contained in:
@ -35,10 +35,6 @@
|
||||
<option value="dialog">{{ i18n.ts._serverDisconnectedBehavior.dialog }}</option>
|
||||
<option value="quiet">{{ i18n.ts._serverDisconnectedBehavior.quiet }}</option>
|
||||
</FormSelect>
|
||||
<FormInput v-model="mediaProxy">
|
||||
<template #label>{{ i18n.ts.mediaProxy }}</template>
|
||||
<template #caption>{{ i18n.ts.mediaProxyDesc }}</template>
|
||||
</FormInput>
|
||||
</FormSection>
|
||||
|
||||
<FormSection>
|
||||
@ -104,7 +100,6 @@ import FormRadios from '@/components/form/radios.vue';
|
||||
import FormRange from '@/components/form/range.vue';
|
||||
import FormSection from '@/components/form/section.vue';
|
||||
import FormLink from '@/components/form/link.vue';
|
||||
import FormInput from '@/components/form/input.vue';
|
||||
import MkLink from '@/components/MkLink.vue';
|
||||
import { langs } from '@/config';
|
||||
import { defaultStore } from '@/store';
|
||||
@ -148,7 +143,6 @@ const enableInfiniteScroll = computed(defaultStore.makeGetterSetter('enableInfin
|
||||
const useReactionPickerForContextMenu = computed(defaultStore.makeGetterSetter('useReactionPickerForContextMenu'));
|
||||
const squareAvatars = computed(defaultStore.makeGetterSetter('squareAvatars'));
|
||||
const aiChanMode = computed(defaultStore.makeGetterSetter('aiChanMode'));
|
||||
const mediaProxy = computed(defaultStore.makeGetterSetter('mediaProxy'));
|
||||
|
||||
watch(lang, () => {
|
||||
localStorage.setItem('lang', lang.value as string);
|
||||
|
@ -168,6 +168,11 @@ const menuDef = computed(() => [{
|
||||
text: i18n.ts.other,
|
||||
to: '/settings/other',
|
||||
active: currentPage?.route.name === 'other',
|
||||
}, {
|
||||
icon: 'fas fa-flask',
|
||||
text: 'Experimental Features',
|
||||
to: '/settings/experimental-features',
|
||||
active: currentPage?.route.name === 'experimental-features',
|
||||
}],
|
||||
}, {
|
||||
items: [{
|
||||
|
Reference in New Issue
Block a user