fix: filter persists switching temporary table tabs

This commit is contained in:
Fabio Di Stasio 2022-07-18 18:29:12 +02:00
parent 0b1aa3dd29
commit bf768c3800
1 changed files with 2 additions and 0 deletions

View File

@ -412,6 +412,8 @@ watch(() => props.schema, () => {
watch(() => props.table, () => {
if (props.isSelected) {
page.value = 1;
filters.value = [];
isSearch.value = false;
approximateCount.value = 0;
sortParams.value = {} as { field: string; dir: 'asc' | 'desc'};
getTableData();