Skip to content

Commit

Permalink
Merged in r2-2657-ux-applying-filters (pull request #6602)
Browse files Browse the repository at this point in the history
R2-2657 UX - Applying filters

Approved-by: Joshua Toliver
  • Loading branch information
aespinoza-quoin authored and jtoliver-quoin committed Nov 21, 2023
2 parents e0ecef0 + 5473b65 commit 97301e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ export default namespace =>
return state
.setIn([NAMESPACE, "loading"], false)
.setIn([NAMESPACE, "data"], fromJS([]))
.setIn([NAMESPACE, "errors"], fromJS([]));
.setIn([NAMESPACE, "errors"], fromJS([]))
.setIn([NAMESPACE, "selectedRecordsLength"], 0);
case `${namespace}/${actions.BULK_ASSIGN_USER_SELECTED_RECORDS_LENGTH}`:
return state.setIn([NAMESPACE, "selectedRecordsLength"], fromJS(payload.selectedRecordsLength, 0));
default:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import SearchableSelect from "../../../searchable-select";
import { enqueueSnackbar } from "../../../notifier";
import { useI18n } from "../../../i18n";
import { applyFilters } from "../../../index-filters/action-creators";
import { DEFAULT_FILTERS } from "../../../record-list/constants";
import { filterUsers } from "../utils";
import { useMemoizedSelector } from "../../../../libs";
import { getFiltersValuesByRecordType } from "../../../index-filters/selectors";
Expand Down Expand Up @@ -128,7 +127,7 @@ const ReassignForm = ({
dispatch(
applyFilters({
recordType,
data: DEFAULT_FILTERS
data: appliedFilters
})
);
};
Expand Down

0 comments on commit 97301e0

Please sign in to comment.