diff --git a/src/components/CrudModel.vue b/src/components/CrudModel.vue index 300319ba2..e992334b5 100644 --- a/src/components/CrudModel.vue +++ b/src/components/CrudModel.vue @@ -176,15 +176,13 @@ async function saveChanges(data) { const changes = data || getChanges(); try { await axios.post($props.saveUrl || $props.url + '/crud', changes); - } catch (e) { + } finally { isLoading.value = false; - throw e; } originalData.value = JSON.parse(JSON.stringify(formData.value)); if (changes.creates?.length) await vnPaginateRef.value.fetch(); hasChanges.value = false; - isLoading.value = false; emit('saveChanges', data); quasar.notify({ type: 'positive', diff --git a/src/components/common/VnSelect.vue b/src/components/common/VnSelect.vue index f62505d33..8474eb281 100644 --- a/src/components/common/VnSelect.vue +++ b/src/components/common/VnSelect.vue @@ -298,9 +298,9 @@ defineExpose({ opts: myOptions }); @virtual-scroll="onScroll" :data-cy="$attrs.dataCy ?? $attrs.label + '_select'" > -