updated config sync settings tab

This commit is contained in:
Eugene
2023-10-15 21:08:18 +02:00
parent 3e9ee5b235
commit 6a458d8b9b
4 changed files with 20 additions and 3 deletions

View File

@@ -406,6 +406,14 @@ export class ConfigService {
}
config.version = 6
}
if (config.version < 7) {
if (!config.configSync?.host || config.configSync?.host === 'https://api.tabby.sh') {
config.configSync ??= {}
delete config.configSync.host
delete config.configSync.token
}
config.version = 7
}
}
private async maybeDecryptConfig (store) {