mirror of https://github.com/Fabio286/antares.git
fix: filter persists switching temporary table tabs
This commit is contained in:
parent
0b1aa3dd29
commit
bf768c3800
|
@ -412,6 +412,8 @@ watch(() => props.schema, () => {
|
||||||
watch(() => props.table, () => {
|
watch(() => props.table, () => {
|
||||||
if (props.isSelected) {
|
if (props.isSelected) {
|
||||||
page.value = 1;
|
page.value = 1;
|
||||||
|
filters.value = [];
|
||||||
|
isSearch.value = false;
|
||||||
approximateCount.value = 0;
|
approximateCount.value = 0;
|
||||||
sortParams.value = {} as { field: string; dir: 'asc' | 'desc'};
|
sortParams.value = {} as { field: string; dir: 'asc' | 'desc'};
|
||||||
getTableData();
|
getTableData();
|
||||||
|
|
Loading…
Reference in New Issue