mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-18 05:10:45 +00:00
Same fix as previous for when clearing filter
This commit is contained in:
@ -1301,7 +1301,7 @@ function RecordQuery({table, launchProcess}: Props): JSX.Element
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
handleFilterChange({items: []} as GridFilterModel);
|
handleFilterChange({items: []} as GridFilterModel);
|
||||||
handleSortChange([{field: tableMetaData.primaryKeyField, sort: "desc"}]);
|
handleSortChange([{field: tableMetaData.primaryKeyField, sort: "desc"}], {items: []} as GridFilterModel);
|
||||||
localStorage.removeItem(currentSavedFilterLocalStorageKey);
|
localStorage.removeItem(currentSavedFilterLocalStorageKey);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user