perf: don not remove key from list view if not exists

This commit is contained in:
Lykin 2024-01-11 13:06:46 +08:00
parent b7ba179e62
commit f1cfa1778f
1 changed files with 1 additions and 1 deletions

View File

@ -400,7 +400,7 @@ const useBrowserStore = defineStore('browser', {
$message.error('load key summary fail: ' + msg)
}
// its danger to delete "non-exists" key, just remove from tree view
await this.deleteKey(server, db, key, true)
// await this.deleteKey(server, db, key, true)
// TODO: show key not found page or check exists on server first?
}
}