X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/36b4e36f75ea0035b6b0de6aaaad4edd3231371c..3b5edb7ae1de4709acef5d2c58ce12ecf5eb9fcf:/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}`} />