Skip to content

Commit

Permalink
fix: filter persists switching temporary table tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabio286 committed Jul 18, 2022
1 parent 0b1aa3d commit bf768c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/renderer/components/WorkspaceTabTable.vue
Expand Up @@ -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();
Expand Down

0 comments on commit bf768c3

Please sign in to comment.