From 5d041e2d0314a3e90741b82a80994adb675d6cfb Mon Sep 17 00:00:00 2001 From: jorgep Date: Thu, 6 Jun 2024 12:14:00 +0200 Subject: [PATCH] fix: refs #6942 fix emit on reset --- 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 f88bf47c4..564fba05c 100644 --- a/src/components/FormModel.vue +++ b/src/components/FormModel.vue @@ -212,7 +212,7 @@ async function saveAndGo() { } function reset() { - updateAndEmit(originalData.value, 'onFetch'); + updateAndEmit('onFetch', originalData.value); if ($props.observeFormChanges) { hasChanges.value = false; isResetting.value = true;