0
0
Fork 0

fix: refs #6942 fix emit on reset

This commit is contained in:
Jorge Penadés 2024-06-06 12:14:00 +02:00
parent 209d5bd13e
commit 5d041e2d03
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ async function saveAndGo() {
} }
function reset() { function reset() {
updateAndEmit(originalData.value, 'onFetch'); updateAndEmit('onFetch', originalData.value);
if ($props.observeFormChanges) { if ($props.observeFormChanges) {
hasChanges.value = false; hasChanges.value = false;
isResetting.value = true; isResetting.value = true;