fix: refs #6942 fix emit on reset
gitea/salix-front/pipeline/pr-test This commit looks good Details

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() {
updateAndEmit(originalData.value, 'onFetch');
updateAndEmit('onFetch', originalData.value);
if ($props.observeFormChanges) {
hasChanges.value = false;
isResetting.value = true;