perf: don not remove key from list view if not exists
This commit is contained in:
parent
b7ba179e62
commit
f1cfa1778f
|
@ -400,7 +400,7 @@ const useBrowserStore = defineStore('browser', {
|
||||||
$message.error('load key summary fail: ' + msg)
|
$message.error('load key summary fail: ' + msg)
|
||||||
}
|
}
|
||||||
// its danger to delete "non-exists" key, just remove from tree view
|
// 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?
|
// TODO: show key not found page or check exists on server first?
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue