#6464 correct negativeBases #373

Merged
jon merged 20 commits from 6464-fixNegativeBases into dev 2024-06-27 10:30:20 +00:00
1 changed files with 15 additions and 12 deletions
Showing only changes of commit 20ae555e14 - Show all commits

View File

@ -84,6 +84,7 @@ watch(
const isLoading = ref(false); const isLoading = ref(false);
async function search() { async function search() {
try {
store.filter.where = {}; store.filter.where = {};
isLoading.value = true; isLoading.value = true;
const params = { ...userParams.value }; const params = { ...userParams.value };
@ -95,9 +96,11 @@ async function search() {
if (!props.showAll && !Object.values(params).length) store.data = []; if (!props.showAll && !Object.values(params).length) store.data = [];
isLoading.value = false;
emit('search'); emit('search');
if (props.redirect) navigate(store.data, {}); if (props.redirect) navigate(store.data, {});
} finally {
isLoading.value = false;
}
} }
async function reload() { async function reload() {