feat(core-app): CB-1230 change the generators support detection logic

This commit is contained in:
Naumov Alexey
2021-09-22 13:41:20 +03:00
parent a68e6f15e3
commit be0d52649f
@@ -77,7 +77,7 @@ export class SqlGeneratorsBootstrap extends Bootstrap {
return context.contextType === NavNodeContextMenuService.nodeContextType
&& (
context.data.node.objectFeatures.includes(EObjectFeature.entity)
|| context.data.node.objectFeatures.includes(EObjectFeature.entityContainer)
|| context.data.node.objectFeatures.includes(EObjectFeature.script)
);
},
isProcessing: context => this.sqlGeneratorsResource.isDataLoading(context.data.node.id),