Skip to content

Commit

Permalink
Fix: Remove Deleted filter not reflecting issue (#7676)
Browse files Browse the repository at this point in the history
## PR Summary

This Pull request fixes #7626 

Adding Deleted filter from option will add filter label as "Deleted" in
tableFiltersState, But on click of "Remove Deleted filter" "Deleted at"
is used for finding tableFilter id, which results in tableFilter id as
undefined.
  • Loading branch information
J3E1 authored Oct 16, 2024
1 parent 03dd752 commit 8e86e94
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const RecordTableEmptyStateSoftDelete = () => {
deleteCombinedViewFilter(
tableFilters.find(
(filter) =>
filter.definition.label === 'Deleted at' &&
filter.definition.label === 'Deleted' &&
filter.operand === 'isNotEmpty',
)?.id ?? '',
);
Expand Down

0 comments on commit 8e86e94

Please sign in to comment.