mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 06:42:32 -05:00
fix undo autosave false
This commit is contained in:
1 parent
436d947f6a
commit
785eb789ad
1 file changed
+2
-2
@@ -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({
|
||||
|
||||
Reference in new issue
Block a user