diff options
-rw-r--r-- | workflow-designer-ui/src/main/frontend/src/features/catalog/Catalog.js | 3 | ||||
-rw-r--r-- | workflow-designer-ui/src/main/frontend/src/features/catalog/CatalogView.jsx | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/workflow-designer-ui/src/main/frontend/src/features/catalog/Catalog.js b/workflow-designer-ui/src/main/frontend/src/features/catalog/Catalog.js index 3a8fae37..b675b220 100644 --- a/workflow-designer-ui/src/main/frontend/src/features/catalog/Catalog.js +++ b/workflow-designer-ui/src/main/frontend/src/features/catalog/Catalog.js @@ -27,8 +27,7 @@ import { NEW_WORKFLOW_MODAL } from 'shared/modal/modalWrapperComponents'; import { clearWorkflowAction } from 'features/workflow/workflowConstants'; const mapStateToProps = state => ({ - catalog: state.catalog, - searchNameFilter: state.searchNameFilter + catalog: state.catalog }); const mapDispatchToProps = dispatch => ({ diff --git a/workflow-designer-ui/src/main/frontend/src/features/catalog/CatalogView.jsx b/workflow-designer-ui/src/main/frontend/src/features/catalog/CatalogView.jsx index 6c346a2e..b9d6f863 100644 --- a/workflow-designer-ui/src/main/frontend/src/features/catalog/CatalogView.jsx +++ b/workflow-designer-ui/src/main/frontend/src/features/catalog/CatalogView.jsx @@ -70,8 +70,7 @@ class CatalogView extends Component { handleStatusChange = value => { const { handleFetchWorkflow, - searchNameFilter, - catalog: { sort } + catalog: { sort, searchNameFilter } } = this.props; handleFetchWorkflow({ |