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