mirror of
https://github.com/docusealco/docuseal
synced 2026-11-09 15:42:32 -05:00
fix builder save
This commit is contained in:
1 parent
ac01b7129d
commit
8dc2ebfbe0
1 file changed
+4
-2
@@ -3006,10 +3006,11 @@ export default {
|
|||||||
this.save()
|
this.save()
|
||||||
},
|
},
|
||||||
rebuildVariablesSchema ({ disable = true } = {}) {
|
rebuildVariablesSchema ({ disable = true } = {}) {
|
||||||
const parsed = {}
|
|
||||||
|
|
||||||
const dynamicDocumentRef = this.documentRefs.find((e) => e.isDynamic)
|
const dynamicDocumentRef = this.documentRefs.find((e) => e.isDynamic)
|
||||||
|
|
||||||
|
if (dynamicDocumentRef) {
|
||||||
|
const parsed = {}
|
||||||
|
|
||||||
this.documentRefs.forEach((ref) => {
|
this.documentRefs.forEach((ref) => {
|
||||||
if (ref.isDynamic) {
|
if (ref.isDynamic) {
|
||||||
ref.updateVariablesSchema()
|
ref.updateVariablesSchema()
|
||||||
@@ -3029,5 +3030,6 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
Reference in new issue
Block a user