feat(frontend): add option Settings->Preferences->Other->When losing connection to the server->Disable

This commit is contained in:
miraikumiko 2025-04-20 03:49:18 +02:00
parent 7ec3c8cc8b
commit a474668171
2 changed files with 2 additions and 2 deletions

View File

@ -155,7 +155,7 @@ export const PREF_DEF = {
}[],
},
serverDisconnectedBehavior: {
default: 'disabled' as 'quiet' | 'reload' | 'dialog',
default: 'quiet' as 'quiet' | 'reload' | 'dialog' | 'disabled',
},
nsfw: {
default: 'respect' as 'respect' | 'force' | 'ignore',

View File

@ -212,7 +212,7 @@ export const store = markRaw(new Pizzax('base', {
},
serverDisconnectedBehavior: {
where: 'device',
default: 'disabled' as 'quiet' | 'dialog' | 'disabled',
default: 'quiet' as 'quiet' | 'reload' | 'dialog' | 'disabled',
},
nsfw: {
where: 'device',