mirror of
https://github.com/paricafe/misskey.git
synced 2025-03-31 14:29:28 -05:00
frontend: tweak preferences
This commit is contained in:
parent
2aee5dd8a7
commit
8b642a5ee7
3 changed files with 4 additions and 3 deletions
packages/frontend/src
|
@ -376,6 +376,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
<option value="rightTop"><i class="ti ti-align-box-right-top"></i> {{ i18n.ts.rightTop }}</option>
|
||||
<option value="leftBottom"><i class="ti ti-align-box-left-bottom"></i> {{ i18n.ts.leftBottom }}</option>
|
||||
<option value="rightBottom"><i class="ti ti-align-box-right-bottom"></i> {{ i18n.ts.rightBottom }}</option>
|
||||
<option value="close"><i class="ti ti-x"></i> {{ i18n.ts.close }}</option>
|
||||
</MkRadios>
|
||||
</MkPreferenceContainer>
|
||||
</SearchMarker>
|
||||
|
@ -512,7 +513,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
<MkPreferenceContainer k="serverDisconnectedBehavior">
|
||||
<MkSelect v-model="serverDisconnectedBehavior">
|
||||
<template #label><SearchLabel>{{ i18n.ts.whenServerDisconnected }}</SearchLabel></template>
|
||||
<option value="doNothing">{{ i18n.ts.doNothing }}</option>
|
||||
<option value="ignore">{{ i18n.ts.doNothing }}</option>
|
||||
<option value="reload">{{ i18n.ts._serverDisconnectedBehavior.reload }}</option>
|
||||
<option value="dialog">{{ i18n.ts._serverDisconnectedBehavior.dialog }}</option>
|
||||
<option value="quiet">{{ i18n.ts._serverDisconnectedBehavior.quiet }}</option>
|
||||
|
|
|
@ -157,7 +157,7 @@ export const PREF_DEF = {
|
|||
}[],
|
||||
},
|
||||
serverDisconnectedBehavior: {
|
||||
default: 'doNothing' as 'doNothing' | 'quiet' | 'reload' | 'dialog',
|
||||
default: 'ignore' as 'ignore' | 'quiet' | 'reload' | 'dialog',
|
||||
},
|
||||
nsfw: {
|
||||
default: 'respect' as 'respect' | 'force' | 'ignore',
|
||||
|
|
|
@ -212,7 +212,7 @@ export const store = markRaw(new Pizzax('base', {
|
|||
},
|
||||
serverDisconnectedBehavior: {
|
||||
where: 'device',
|
||||
default: 'doNothing' as 'doNothing' | 'quiet' | 'reload' | 'dialog',
|
||||
default: 'ignore' as 'ignore' | 'quiet' | 'reload' | 'dialog',
|
||||
},
|
||||
nsfw: {
|
||||
where: 'device',
|
||||
|
|
Loading…
Add table
Reference in a new issue