1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-02-15 19:20:52 +01:00

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

View File

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