aboutsummaryrefslogtreecommitdiffstats
path: root/workflow-designer-ui/src
diff options
context:
space:
mode:
authorYarin Dekel <yarind@amdocs.com>2018-12-05 13:46:35 +0200
committerAvi Gaffa <avi.gaffa@amdocs.com>2018-12-06 12:51:43 +0000
commitb2ad628cca1782891f99af0c16cbcf58a4b3d326 (patch)
treed3adfa82d920447f181428435ed82ec1f2a968a6 /workflow-designer-ui/src
parentc752c10da0690d028eb988493eff8c44e0f803fb (diff)
WF-fix search when status changed
Issue-ID: SDC-1984 Change-Id: If91bb4d060f6765db4e7849fbc20a4192e9939b4 Signed-off-by: Yarin Dekel <yarind@amdocs.com>
Diffstat (limited to 'workflow-designer-ui/src')
-rw-r--r--workflow-designer-ui/src/main/frontend/src/features/catalog/Catalog.js3
-rw-r--r--workflow-designer-ui/src/main/frontend/src/features/catalog/CatalogView.jsx3
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({