diff --git a/frontend/app/components/Alerts/AlertsList.js b/frontend/app/components/Alerts/AlertsList.js index 21fbce249..21ea6448d 100644 --- a/frontend/app/components/Alerts/AlertsList.js +++ b/frontend/app/components/Alerts/AlertsList.js @@ -21,7 +21,6 @@ const AlertsList = props => {
setQuery(value)} /> diff --git a/frontend/app/components/Errors/Error/ErrorInfo.js b/frontend/app/components/Errors/Error/ErrorInfo.js index 91d8a018f..b1d18ab45 100644 --- a/frontend/app/components/Errors/Error/ErrorInfo.js +++ b/frontend/app/components/Errors/Error/ErrorInfo.js @@ -79,13 +79,13 @@ export default class ErrorInfo extends React.PureComponent { > {/*
+
- + {/*
{ error.status === UNRESOLVED ? - {/* } - /> */} -
+ /> +
*/}

Last session with this error

diff --git a/frontend/app/components/shared/Filters/FilterModal/FilterModal.tsx b/frontend/app/components/shared/Filters/FilterModal/FilterModal.tsx index 5ed5b228f..ecb9e3b52 100644 --- a/frontend/app/components/shared/Filters/FilterModal/FilterModal.tsx +++ b/frontend/app/components/shared/Filters/FilterModal/FilterModal.tsx @@ -122,9 +122,13 @@ function FilterModal(props: Props) { ); } -export default connect(state => ({ - // filters: state.getIn([ 'search', 'filterListLive' ]), - filterSearchList: state.getIn([ 'search', 'filterSearchList' ]), - metaOptions: state.getIn([ 'customFields', 'list' ]), - fetchingFilterSearchList: state.getIn([ 'search', 'fetchFilterSearch', 'loading' ]), -}))(FilterModal); +export default connect((state: any, props: any) => { + return ({ + filters: props.isLive ? state.getIn([ 'search', 'filterListLive' ]) : state.getIn([ 'search', 'filterList' ]), + filterSearchList: props.isLive ? state.getIn([ 'liveSearch', 'filterSearchList' ]) : state.getIn([ 'search', 'filterSearchList' ]), + // filterSearchList: state.getIn([ 'search', 'filterSearchList' ]), + // liveFilterSearchList: state.getIn([ 'liveSearch', 'filterSearchList' ]), + metaOptions: state.getIn([ 'customFields', 'list' ]), + fetchingFilterSearchList: state.getIn([ 'search', 'fetchFilterSearch', 'loading' ]), + }) +})(FilterModal); diff --git a/frontend/app/components/shared/Filters/FilterSelection/FilterSelection.tsx b/frontend/app/components/shared/Filters/FilterSelection/FilterSelection.tsx index 221438620..d4e20d322 100644 --- a/frontend/app/components/shared/Filters/FilterSelection/FilterSelection.tsx +++ b/frontend/app/components/shared/Filters/FilterSelection/FilterSelection.tsx @@ -45,8 +45,9 @@ function FilterSelection(props: Props) { {showModal && (
)} diff --git a/frontend/app/components/shared/SessionSearchField/SessionSearchField.tsx b/frontend/app/components/shared/SessionSearchField/SessionSearchField.tsx index 28d1af364..7f38a0fed 100644 --- a/frontend/app/components/shared/SessionSearchField/SessionSearchField.tsx +++ b/frontend/app/components/shared/SessionSearchField/SessionSearchField.tsx @@ -11,6 +11,8 @@ interface Props { addFilterByKeyAndValue: (key: string, value: string) => void; filterList: any; filterListLive: any; + filterSearchListLive: any; + filterSearchList: any; } function SessionSearchField(props: Props) { const debounceFetchFilterSearch = React.useCallback(debounce(props.fetchFilterSearch, 1000), []); @@ -45,7 +47,9 @@ function SessionSearchField(props: Props) { searchQuery={searchQuery} isMainSearch={true} onFilterClick={onAddFilter} - filters={isRoute(ASSIST_ROUTE, window.location.pathname) ? props.filterListLive : props.filterList } + isLive={isRoute(ASSIST_ROUTE, window.location.pathname)} + // filters={isRoute(ASSIST_ROUTE, window.location.pathname) ? props.filterListLive : props.filterList } + // filterSearchList={isRoute(ASSIST_ROUTE, window.location.pathname) ? props.filterSearchListLive : props.filterSearchList } />
)} @@ -54,6 +58,8 @@ function SessionSearchField(props: Props) { } export default connect((state: any) => ({ + filterSearchList: state.getIn([ 'search', 'filterSearchList' ]), + filterSearchListLive: state.getIn([ 'liveSearch', 'filterSearchList' ]), filterList: state.getIn([ 'search', 'filterList' ]), filterListLive: state.getIn([ 'search', 'filterListLive' ]), }), { })(SessionSearchField); \ No newline at end of file diff --git a/frontend/app/components/ui/Input/Input.tsx b/frontend/app/components/ui/Input/Input.tsx index 7851fec7f..a2ad36f1b 100644 --- a/frontend/app/components/ui/Input/Input.tsx +++ b/frontend/app/components/ui/Input/Input.tsx @@ -19,7 +19,7 @@ function Input(props: Props) { { type === 'textarea' ? (