fix: disable filter during table content loading, fixes #588

This commit is contained in:
Fabio Di Stasio 2023-06-01 18:00:16 +02:00
parent 904670781d
commit e60726c741
1 changed files with 2 additions and 1 deletions

View File

@ -73,6 +73,7 @@
<button
class="btn btn-sm"
:title="t('word.filter')"
:disabled="isQuering"
:class="{'btn-primary': isSearch, 'btn-dark': !isSearch}"
@click="isSearch = !isSearch"
>
@ -269,7 +270,7 @@ const keyUsage = computed(() => {
});
const getTableData = async () => {
if (!props.table || !props.isSelected) return;
if (!props.table || !props.isSelected || isQuering.value) return;
isQuering.value = true;
// if table changes clear cached values