From de6f85eba750b77743bc7109c5e36284f0d3032f Mon Sep 17 00:00:00 2001 From: jorgep Date: Mon, 11 Mar 2024 13:49:23 +0100 Subject: [PATCH] fix: refs #5186 validation --- src/pages/InvoiceIn/Card/InvoiceInDescriptor.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/InvoiceIn/Card/InvoiceInDescriptor.vue b/src/pages/InvoiceIn/Card/InvoiceInDescriptor.vue index 2c52f2d2f..596ae5227 100644 --- a/src/pages/InvoiceIn/Card/InvoiceInDescriptor.vue +++ b/src/pages/InvoiceIn/Card/InvoiceInDescriptor.vue @@ -209,7 +209,7 @@ async function toUnbook() { : t('isNotLinked', { bookEntry }); quasar.notify({ type, message }); - store.data.isBooked = false; + if (!isLinked) store.data.isBooked = false; } async function deleteInvoice() {