mirror of
https://github.com/Eugeny/tabby.git
synced 2025-08-19 07:41:53 +00:00
fix(core): new config migration to recover profile without ID
This commit is contained in:
@@ -351,6 +351,14 @@ export class ConfigService {
|
||||
delete window.localStorage.lastSerialConnection
|
||||
config.version = 3
|
||||
}
|
||||
if (config.version < 4) {
|
||||
for (const p of config.profiles ?? []) {
|
||||
if (!p.id) {
|
||||
p.id = `${p.type}:custom:${uuidv4()}`
|
||||
}
|
||||
}
|
||||
config.version = 4
|
||||
}
|
||||
}
|
||||
|
||||
private async maybeDecryptConfig (store) {
|
||||
|
Reference in New Issue
Block a user