fix lint errors and remove commented code from settings/general.vue

This commit is contained in:
Hazelnoot 2025-02-04 11:13:05 -05:00
parent cf86a65385
commit 06bcd0c9a0

View file

@ -14,14 +14,6 @@ SPDX-License-Identifier: AGPL-3.0-only
<MkLink url="https://crowdin.com/project/misskey">Crowdin</MkLink> <MkLink url="https://crowdin.com/project/misskey">Crowdin</MkLink>
</template> </template>
</I18n> </I18n>
<!--
<br />
<I18n :src="i18n.ts.i18nInfoSharkey" tag="span">
<template #link>
<MkLink url="https://crowdin.com/project/misskey">INSERT THINGY</MkLink>
</template>
</I18n>
-->
</template> </template>
</MkSelect> </MkSelect>
@ -152,11 +144,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</template> </template>
</MkSwitch> </MkSwitch>
<!-- {{ i18n.ts.notificationDotNotWorkingAdvice }} -->
<!-- notificationDotNotWorkingAdvice -->
<MkButton @click="testNotificationDot">{{ i18n.ts.verifyNotificationDotWorkingButton }}</MkButton> <MkButton @click="testNotificationDot">{{ i18n.ts.verifyNotificationDotWorkingButton }}</MkButton>
<!-- <p class="caption">Testing Testing</p> -->
<MkRadios v-model="notificationPosition"> <MkRadios v-model="notificationPosition">
<template #label>{{ i18n.ts.position }}</template> <template #label>{{ i18n.ts.position }}</template>
<option value="leftTop"><i class="ti ti-align-box-left-top"></i> {{ i18n.ts.leftTop }}</option> <option value="leftTop"><i class="ti ti-align-box-left-top"></i> {{ i18n.ts.leftTop }}</option>
@ -340,7 +328,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { computed, reactive, ref, watch } from 'vue'; import { computed, ref, watch } from 'vue';
import * as Misskey from 'misskey-js'; import * as Misskey from 'misskey-js';
import { langs } from '@@/js/config.js'; import { langs } from '@@/js/config.js';
import MkSwitch from '@/components/MkSwitch.vue'; import MkSwitch from '@/components/MkSwitch.vue';
@ -422,7 +410,6 @@ const keepScreenOn = computed(defaultStore.makeGetterSetter('keepScreenOn'));
const disableStreamingTimeline = computed(defaultStore.makeGetterSetter('disableStreamingTimeline')); const disableStreamingTimeline = computed(defaultStore.makeGetterSetter('disableStreamingTimeline'));
const useGroupedNotifications = computed(defaultStore.makeGetterSetter('useGroupedNotifications')); const useGroupedNotifications = computed(defaultStore.makeGetterSetter('useGroupedNotifications'));
const showTickerOnReplies = computed(defaultStore.makeGetterSetter('showTickerOnReplies')); const showTickerOnReplies = computed(defaultStore.makeGetterSetter('showTickerOnReplies'));
//const searchEngine = computed(defaultStore.makeGetterSetter('searchEngine'));
const searchEngine = computed(defaultStore.makeGetterSetter('searchEngine')); const searchEngine = computed(defaultStore.makeGetterSetter('searchEngine'));
const noteDesign = computed(defaultStore.makeGetterSetter('noteDesign')); const noteDesign = computed(defaultStore.makeGetterSetter('noteDesign'));
@ -470,7 +457,7 @@ watch(useSystemFont, () => {
watch(noteDesign, async (newval) => { watch(noteDesign, async (newval) => {
if (noteDesign.value === newval) { if (noteDesign.value === newval) {
await reloadAsk(); await reloadAsk({});
} }
}); });