WF-fix search when status changed 61/74261/2
authorYarin Dekel <yarind@amdocs.com>
Wed, 5 Dec 2018 11:46:35 +0000 (13:46 +0200)
committerAvi Gaffa <avi.gaffa@amdocs.com>
Thu, 6 Dec 2018 12:51:43 +0000 (12:51 +0000)
Issue-ID: SDC-1984
Change-Id: If91bb4d060f6765db4e7849fbc20a4192e9939b4
Signed-off-by: Yarin Dekel <yarind@amdocs.com>
workflow-designer-ui/src/main/frontend/src/features/catalog/Catalog.js
workflow-designer-ui/src/main/frontend/src/features/catalog/CatalogView.jsx

index 3a8fae3..b675b22 100644 (file)
@@ -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 => ({
index 6c346a2..b9d6f86 100644 (file)
@@ -70,8 +70,7 @@ class CatalogView extends Component {
     handleStatusChange = value => {
         const {
             handleFetchWorkflow,
-            searchNameFilter,
-            catalog: { sort }
+            catalog: { sort, searchNameFilter }
         } = this.props;
 
         handleFetchWorkflow({