fix(object-viewer-plugin): tab catalog detection

This commit is contained in:
Wroud
2020-06-15 18:06:07 +03:00
parent c2f6f740e6
commit db2aac544d
@@ -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;