diff --git a/frontend/src/components/CustomResourceDefinitionsView.tsx b/frontend/src/components/CustomResourceDefinitionsView.tsx index 0cda15c..2f4b65b 100644 --- a/frontend/src/components/CustomResourceDefinitionsView.tsx +++ b/frontend/src/components/CustomResourceDefinitionsView.tsx @@ -28,7 +28,7 @@ const CustomResourceDefinitionsView: React.FC {customResourceDefinitions.map(crd => (
-
{crd.displayName}
+
{crd.displayName} ({crd.version})
{crd.description}
{showExamples && ( diff --git a/frontend/src/components/editor/BundleDownloader.js b/frontend/src/components/editor/BundleDownloader.js index 9649fb3..3146f60 100644 --- a/frontend/src/components/editor/BundleDownloader.js +++ b/frontend/src/components/editor/BundleDownloader.js @@ -259,7 +259,4 @@ const mapStateToProps = state => ({ operatorPackage: state.editorState.operatorPackage }); -export default connect( - mapStateToProps, - mapDispatchToProps -)(OperatorBundleDownloader); +export default connect(mapStateToProps, mapDispatchToProps)(OperatorBundleDownloader); diff --git a/frontend/src/components/editor/RulesEditor.js b/frontend/src/components/editor/RulesEditor.js index f23628b..7d11ada 100755 --- a/frontend/src/components/editor/RulesEditor.js +++ b/frontend/src/components/editor/RulesEditor.js @@ -83,10 +83,18 @@ class RulesEditor extends React.Component { if (selections.includes('*') && selections.length > 1) { const prevSelections = _.get(rule, field); if (prevSelections.includes('*')) { - this.updateRule(rule, field, _.filter(selections, selection => selection !== '*')); + this.updateRule( + rule, + field, + _.filter(selections, selection => selection !== '*') + ); return; } - this.updateRule(rule, field, _.filter(selections, selection => selection === '*')); + this.updateRule( + rule, + field, + _.filter(selections, selection => selection === '*') + ); return; } diff --git a/frontend/src/pages/operatorHub/OperatorHub.js b/frontend/src/pages/operatorHub/OperatorHub.js index c696659..48971ab 100755 --- a/frontend/src/pages/operatorHub/OperatorHub.js +++ b/frontend/src/pages/operatorHub/OperatorHub.js @@ -612,7 +612,7 @@ class OperatorHub extends React.Component { {_.map(this.sortCategories(categories), category => (
{category === selectedCategory && (