forked from verdnatura/salix-front
fix: refs #6942 fix emit on reset
This commit is contained in:
parent
209d5bd13e
commit
5d041e2d03
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue