mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-10-29 19:19:39 +08:00
fix(plugin-resource-manager): CB-2027 remove enabled check
This commit is contained in:
@@ -93,8 +93,7 @@ export class PluginBootstrap extends Bootstrap {
|
||||
this.menuService.addCreator({
|
||||
isApplicable: context => {
|
||||
const node = context.tryGet(DATA_CONTEXT_NAV_NODE);
|
||||
return this.resourceManagerService.enabled
|
||||
&& !!node?.nodeType && [PROJECT_NODE_TYPE, RESOURCE_NODE_TYPE].includes(node.nodeType);
|
||||
return !!node?.nodeType && [PROJECT_NODE_TYPE, RESOURCE_NODE_TYPE].includes(node.nodeType);
|
||||
},
|
||||
getItems: (context, items) => items,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user