X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/8c399e89842f59ca0b86abde42545423f035695d..8618c6a611c7cdb785c8eb570a8e84e82741eb02:/src/views-components/search-bar/search-bar-advanced-properties-view.tsx diff --git a/src/views-components/search-bar/search-bar-advanced-properties-view.tsx b/src/views-components/search-bar/search-bar-advanced-properties-view.tsx index 01fc6a1a..0384de22 100644 --- a/src/views-components/search-bar/search-bar-advanced-properties-view.tsx +++ b/src/views-components/search-bar/search-bar-advanced-properties-view.tsx @@ -8,10 +8,10 @@ import { connect } from 'react-redux'; import { InjectedFormProps, formValueSelector } from 'redux-form'; import { Grid, withStyles, StyleRulesCallback, WithStyles, Button } from '@material-ui/core'; import { RootState } from '~/store/store'; -import { - SEARCH_BAR_ADVANCE_FORM_NAME, - changeAdvanceFormProperty, - updateAdvanceFormProperties +import { + SEARCH_BAR_ADVANCE_FORM_NAME, + changeAdvanceFormProperty, + updateAdvanceFormProperties } from '~/store/search-bar/search-bar-actions'; import { PropertyValues } from '~/models/search-bar'; import { ArvadosTheme } from '~/common/custom-theme'; @@ -45,8 +45,8 @@ interface SearchBarAdvancedPropertiesViewActionProps { getAllFields: (propertyValues: PropertyValues[]) => PropertyValues[] | []; } -type SearchBarAdvancedPropertiesViewProps = SearchBarAdvancedPropertiesViewDataProps - & SearchBarAdvancedPropertiesViewActionProps +type SearchBarAdvancedPropertiesViewProps = SearchBarAdvancedPropertiesViewDataProps + & SearchBarAdvancedPropertiesViewActionProps & InjectedFormProps & WithStyles; const selector = formValueSelector(SEARCH_BAR_ADVANCE_FORM_NAME); @@ -85,15 +85,16 @@ export const SearchBarAdvancedPropertiesView = connect(mapStateToProps, mapDispa - `${field.key}: ${field.value}`} />