From ff36f82333f214b68d50accc9f1bd8000d0fe638 Mon Sep 17 00:00:00 2001 From: jorgep Date: Fri, 19 Apr 2024 09:39:17 +0200 Subject: [PATCH] fix: refs #6480 disable popup on no observe changes --- src/components/FormModel.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/FormModel.vue b/src/components/FormModel.vue index a7af0044b..2dc14160f 100644 --- a/src/components/FormModel.vue +++ b/src/components/FormModel.vue @@ -101,7 +101,7 @@ onMounted(async () => { }); onBeforeRouteLeave((to, from, next) => { - if (hasChanges.value) + if (hasChanges.value && $props.observeFormChanges) quasar.dialog({ component: VnConfirm, componentProps: {