import { connect } from 'react-redux';
import CatalogView from 'features/catalog/CatalogView';
-import { fetchWorkflow, resetWorkflow } from 'features/catalog/catalogActions';
+import {
+ fetchWorkflow,
+ resetWorkflow,
+ searchChangedAction
+} from 'features/catalog/catalogActions';
import { showCustomModalAction } from 'shared/modal/modalWrapperActions';
import { NEW_WORKFLOW_MODAL } from 'shared/modal/modalWrapperComponents';
customComponentName: NEW_WORKFLOW_MODAL,
title: 'New Workflow'
})
- )
+ ),
+ searchInputChanged: searchValue =>
+ dispatch(searchChangedAction(searchValue))
});
const Catalog = connect(mapStateToProps, mapDispatchToProps)(CatalogView);