mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 06:42:32 -05:00
adjust detection
This commit is contained in:
1 parent
291d869843
commit
bf6afc5e61
3 files changed
+50
-35
No files matched your search
@@ -461,7 +461,11 @@ export default {
|
||||
const jsonStr = line.replace(/^data: /, '')
|
||||
const data = JSON.parse(jsonStr)
|
||||
|
||||
if (data.completed) {
|
||||
if (data.error) {
|
||||
alert(data.error)
|
||||
|
||||
break
|
||||
} else if (data.completed) {
|
||||
this.fieldPagesLoaded = null
|
||||
this.template.fields = fields
|
||||
this.save()
|
||||
|
||||
Reference in new issue
Block a user