mirror of
https://github.com/twentyhq/twenty.git
synced 2024-11-25 20:00:34 +03:00
Fix: Remove Deleted filter not reflecting issue (#7676)
## 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.
This commit is contained in:
parent
03dd7527b7
commit
8e86e94125
@ -28,7 +28,7 @@ export const RecordTableEmptyStateSoftDelete = () => {
|
||||
deleteCombinedViewFilter(
|
||||
tableFilters.find(
|
||||
(filter) =>
|
||||
filter.definition.label === 'Deleted at' &&
|
||||
filter.definition.label === 'Deleted' &&
|
||||
filter.operand === 'isNotEmpty',
|
||||
)?.id ?? '',
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user