mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
fix(Workspace): Optimized Deleting workspace entries still displays the deleted content on the right.
This commit is contained in:
@@ -269,6 +269,9 @@ const delWorkspace = (row: any) => {
|
||||
message: t('dashboard.delete_success'),
|
||||
})
|
||||
init()
|
||||
if (row.id === currentTable.value.id) {
|
||||
currentTable.value = {}
|
||||
}
|
||||
if (row.id === userStore.getOid) {
|
||||
userStore.setOid('1')
|
||||
await userStore.info()
|
||||
|
||||
Reference in New Issue
Block a user