mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-10-25 09:34:18 +08:00
CB-3205 refactor: use RM API for nav-tree (#1771)
* CB-3205 refactor: use RM API for nav-tree * CB-3205 fix: cached resource skipped outdate * CB-3205 chore: revert CB-3513 fix (covered by another fix) --------- Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
This commit is contained in:
+3
@@ -223,6 +223,9 @@ export class ResourceSqlDataSourceBootstrap extends Bootstrap {
|
||||
const tab = this.sqlEditorTabResourceService.getResourceTab(key);
|
||||
|
||||
if (tab) {
|
||||
const dataSource = this.sqlDataSourceService.get(tab.handlerState.editorId) as ResourceSqlDataSource;
|
||||
|
||||
dataSource?.setResourceKey(undefined); // prevent deleted resource refresh
|
||||
tabs.push(tab.id);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user