mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-06 19:07:50 +00:00
clear sort when resetting
This commit is contained in:
parent
46016fce4a
commit
986f1f1d0f
1 changed files with 2 additions and 0 deletions
|
|
@ -382,6 +382,7 @@ export const QueryBuilder: FC<QueryBuilderProps> = ({
|
|||
primary: '',
|
||||
secondary: ''
|
||||
});
|
||||
setSort([]);
|
||||
setFilter(undefined);
|
||||
onClear();
|
||||
};
|
||||
|
|
@ -853,6 +854,7 @@ export const QueryBuilder: FC<QueryBuilderProps> = ({
|
|||
primary: '',
|
||||
secondary: ''
|
||||
});
|
||||
setSort([]);
|
||||
setFilter(undefined);
|
||||
onClear();
|
||||
}}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue