upd: add option to disable server disconnect warning
Closes transfem-org/Sharkey#152
This commit is contained in:
parent
8779c0defd
commit
62bb0d1eaa
5 changed files with 5 additions and 1 deletions
|
@ -169,6 +169,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
<option value="reload">{{ i18n.ts._serverDisconnectedBehavior.reload }}</option>
|
||||
<option value="dialog">{{ i18n.ts._serverDisconnectedBehavior.dialog }}</option>
|
||||
<option value="quiet">{{ i18n.ts._serverDisconnectedBehavior.quiet }}</option>
|
||||
<option value="disabled">{{ i18n.ts._serverDisconnectedBehavior.disabled }}</option>
|
||||
</MkSelect>
|
||||
<MkRange v-model="numberOfPageCache" :min="1" :max="10" :step="1" easing>
|
||||
<template #label>{{ i18n.ts.numberOfPageCache }}</template>
|
||||
|
|
|
@ -184,7 +184,7 @@ export const defaultStore = markRaw(new Storage('base', {
|
|||
},
|
||||
serverDisconnectedBehavior: {
|
||||
where: 'device',
|
||||
default: 'quiet' as 'quiet' | 'reload' | 'dialog',
|
||||
default: 'quiet' as 'quiet' | 'reload' | 'dialog' | 'disabled',
|
||||
},
|
||||
nsfw: {
|
||||
where: 'device',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue