adjust detection

This commit is contained in:
Pete Matsyburka
2025-11-03 17:00:52 +02:00
parent 291d869843
commit bf6afc5e61
3 changed files with 50 additions and 35 deletions
+5 -1
View File
@@ -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()