fix undo autosave false

pull/721/head
Pete Matsyburka 3 weeks ago
parent 436d947f6a
commit 785eb789ad

@ -3525,6 +3525,8 @@ export default {
this.onChange(this.template)
}
this.pushUndo()
if (!this.autosave && !force) {
return Promise.resolve({})
}
@ -3535,8 +3537,6 @@ export default {
}
})
this.pushUndo()
return this.baseFetch(`/templates/${this.template.id}`, {
method: 'PUT',
body: JSON.stringify({

Loading…
Cancel
Save