+
+ {!typesAreNotUpdatable && (
+
+
+
+
+
+
+
+ )}
+
+ {({ platformModuleHelpers }) => {
+ const label = platformModuleHelpers.isRuleEngineEnable()
+ ? 'Rule rescan'
+ : 'Rule rescan (engine is disabled)';
+ const buttonDisable = typesAreNotScannable
|| !platformModuleHelpers.isRuleEngineEnable()
|| numberOfSelectedElements === 0
|| this.state.processing;
- return typesAreNotScannable ? undefined : (
-
-
-
-
-
-
-
- );
- }}
-
- {this.props.handleCopy && (
-
-
- maxNumberOfObservablesToCopy
- }
- onClick={this.props.handleCopy}
- color="primary"
- size="small"
- >
-
-
-
-
- )}
- {!enrichDisable && (
-
-
-
-
-
-
-
+ return typesAreNotScannable ? undefined : (
+
+
+
+
+
+
+
+ );
+ }}
+
+ {this.props.handleCopy && (
+
+
+ maxNumberOfObservablesToCopy
+ }
+ onClick={this.props.handleCopy}
+ color="primary"
+ size="small"
+ >
+
+
+
+
+ )}
+ {!enrichDisable && (
+
+
+
+
+
+
+
+ )}
+ {promoteEnabled && (
+
+
+
+
+
+
+
+ )}
+ {enableMerge && (
+
+
+ 4
+ || preventMerge
+ || selectAll
+ || this.state.processing
+ }
+ onClick={this.handleOpenMerge.bind(this)}
+ color="primary"
+ size="small"
+ >
+
+
+
+
+ )}
+
+ {!typesAreNotAddableInContainer && (
+
+
+
+
+
+
+
+
+
)}
- {promoteEnabled && (
-
-
-
-
-
-
-
+ {container && (
+
+
+
+
+
+
+
+
+
)}
- {enableMerge && (
-
-
- 4
- || preventMerge
- || selectAll
- || this.state.processing
- }
- onClick={this.handleOpenMerge.bind(this)}
- color="primary"
- size="small"
- >
-
-
-
-
+ {isShareableType && (
+ <>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ >
)}
-
- {!typesAreNotAddableInContainer && (
-
-
-
-
-
-
-
-
-
- )}
- {container && (
-
-
-
-
-
-
-
-
-
- )}
- {isShareableType && (
- <>
-
-
-
-
-
-
+ {deleteDisable !== true && (
+
+
+
+
+
+
+
+
-
-
-
-
-
-
+ )}
+ {deleteOperationEnabled && (
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
- >
- )}
- {deleteDisable !== true && (
-
-
-
-
-
-
-
-
-
- )}
- {deleteOperationEnabled && (
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- )}
+ )}
+