mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
fix(object-viewer-plugin): tab catalog detection
This commit is contained in:
@@ -165,7 +165,7 @@ export class ObjectViewerTabService {
|
||||
const nodeInfo = this.navNodeManagerService
|
||||
.getNodeContainerInfo(context.handlerState.objectId);
|
||||
|
||||
if (nodeInfo.catalogId) {
|
||||
if (!nodeInfo.catalogId) {
|
||||
return;
|
||||
}
|
||||
return nodeInfo.catalogId;
|
||||
|
||||
Reference in New Issue
Block a user