mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 06:42:32 -05:00
fix fields error alert
This commit is contained in:
1 parent
de5cd92dba
commit
9333a1ba45
1 file changed
+6
-2
@@ -470,9 +470,13 @@ export default {
|
||||
const data = JSON.parse(jsonStr)
|
||||
|
||||
if (data.error) {
|
||||
alert(data.error)
|
||||
if ((data.fields || fields).length) {
|
||||
this.template.fields = data.fields || fields
|
||||
|
||||
this.template.fields = data.fields || fields
|
||||
this.save()
|
||||
} else {
|
||||
alert(data.error)
|
||||
}
|
||||
|
||||
break
|
||||
} else if (data.analyzing) {
|
||||
|
||||
Reference in new issue
Block a user