From eac300579415e8121aa729667a661d77cea8d00f Mon Sep 17 00:00:00 2001 From: Naumov Alexey Date: Tue, 17 May 2022 13:46:05 +0200 Subject: [PATCH] fix(plugin-resource-manager): CB-2027 remove enabled check --- webapp/packages/plugin-resource-manager/src/PluginBootstrap.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/webapp/packages/plugin-resource-manager/src/PluginBootstrap.ts b/webapp/packages/plugin-resource-manager/src/PluginBootstrap.ts index 6246c5046c..fb4c90d660 100644 --- a/webapp/packages/plugin-resource-manager/src/PluginBootstrap.ts +++ b/webapp/packages/plugin-resource-manager/src/PluginBootstrap.ts @@ -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, });