mirror of
https://github.com/Fabio286/antares.git
synced 2025-02-15 11:10:43 +01:00
fix: disable filter during table content loading, fixes #588
This commit is contained in:
parent
904670781d
commit
e60726c741
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user