diff --git a/src/pages/Claim/Card/ClaimLines.vue b/src/pages/Claim/Card/ClaimLines.vue index 52fbfca98..77c7dacf1 100644 --- a/src/pages/Claim/Card/ClaimLines.vue +++ b/src/pages/Claim/Card/ClaimLines.vue @@ -45,7 +45,7 @@ async function onFetchClaim(data) { const amount = ref(); const amountClaimed = ref(); -async function onFetch(rows, newRows) { +function onFetch(rows, newRows) { if (newRows) rows = newRows; amount.value = 0; amountClaimed.value = 0; @@ -155,7 +155,7 @@ function showImportDialog() { async function saveWhenHasChanges() { if (claimLinesForm.value.getChanges().updates) { await claimLinesForm.value.onSubmit(); - await claimLinesForm.value.reload(); + onFetch(claimLinesForm.value.formData); } } @@ -211,7 +211,7 @@ async function saveWhenHasChanges() {