Merge from docusealco/wip

master 2.4.0
Alex Turchyn 5 days ago committed by GitHub
commit fd868360a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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>

Loading…
Cancel
Save