Skip to content

Commit

Permalink
fix drawn boundary issue from #2979
Browse files Browse the repository at this point in the history
  • Loading branch information
micheal-w-wells committed Dec 4, 2023
1 parent 1f35e45 commit ef0778d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions appv2/src/state/sagas/map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ function* handle_MAP_INIT_FOR_RECORDSETS(action) {

function* handle_REMOVE_CLIENT_BOUNDARY(action) {
// save changes in local storage
persistClientBoundaries(action);
yield persistClientBoundaries(action);

// remove from record sets applied
const state = yield select(selectUserSettings);
Expand All @@ -722,13 +722,13 @@ function* handle_REMOVE_CLIENT_BOUNDARY(action) {
});

const actions = filteredSets.map((filteredSet) => {
const filterID = filteredSet?.tableFilters.filter((filter) => {
const filter = filteredSet?.tableFilters.filter((filter) => {
return filter.filter === action.payload.id;
})?.[0];
const actionObject = {
type: RECORDSET_REMOVE_FILTER,
payload: {
filterID: filterID,
filterID: filter?.id,
filterType: 'tableFilter',
setID: filteredSet.recordSetID
}
Expand Down

0 comments on commit ef0778d

Please sign in to comment.