Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
}
}}
search={this.search}
executeCommand={this.executeCommand}
onClose={this.props.onClose}
getNextCommands={this.getNextCommands}
/>
);
}
}
export default flowRight(
withApollo,
injectIntl,
withRouter,
injectFeatureToggles(['pimSearch', 'customApplications', 'canViewDashboard']),
withApplicationContext(),
connect(null, (dispatch, ownProps) => ({
pimSearchProductIds: searchText =>
dispatch(
sdkActions.post({
uri: `/${ownProps.applicationContext.project.key}/search/products`,
mcApiProxyTarget: MC_API_PROXY_TARGETS.PIM_SEARCH,
payload: {
query: {
fullText: {
field: 'name',
language: ownProps.applicationContext.dataLocale,
value: searchText,
},
},
sort: [