feat: update full-page module endpoint and transformer logic, optimize data-table search clearing, and hardcode auth token for development
This commit is contained in:
@@ -236,8 +236,10 @@ export function EnterpriseDataTable<E extends BaseEntity>(props: EnterpriseDataT
|
||||
|
||||
const handleSearchClear = useCallback(() => {
|
||||
setSearchValue('');
|
||||
searchRef.current = '';
|
||||
gridApiRef.current?.refreshServerSide({ purge: true });
|
||||
if (searchRef.current !== '') {
|
||||
searchRef.current = '';
|
||||
gridApiRef.current?.refreshServerSide({ purge: true });
|
||||
}
|
||||
}, []);
|
||||
|
||||
const activeFilterCount = useMemo(() => {
|
||||
|
||||
Reference in New Issue
Block a user