Fix form 404
This commit is contained in:
parent
5e6f4d78a1
commit
50c3861ebb
|
@ -98,8 +98,13 @@ const loadForm = async (setup=false) => {
|
||||||
}
|
}
|
||||||
formsStore.save(data.value)
|
formsStore.save(data.value)
|
||||||
} else {
|
} else {
|
||||||
const data = await formsStore.publicFetch(slug)
|
try {
|
||||||
formsStore.save(data)
|
const data = await formsStore.publicFetch(slug)
|
||||||
|
formsStore.save(data)
|
||||||
|
} catch (e) {
|
||||||
|
formsStore.stopLoading()
|
||||||
|
return
|
||||||
|
}
|
||||||
}
|
}
|
||||||
formsStore.stopLoading()
|
formsStore.stopLoading()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue