fix: startup bad migration
continuous-integration/drone/push Build encountered an error Details

This commit is contained in:
kieran 2024-04-29 17:45:25 +01:00
parent 87144d9395
commit ddd1b3e83f
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941
1 changed files with 1 additions and 1 deletions

View File

@ -336,7 +336,7 @@ export class MultiAccountStore extends ExternalStore<LoginSession> {
delete acc["tags"];
didMigrate = true;
}
if (acc.state.appdata) {
if (acc.state && acc.state.appdata) {
if ("id" in acc.state.appdata) {
delete acc.state.appdata["id"];
didMigrate = true;