adding check for initinfo
This commit is contained in:
parent
3b35b7d86b
commit
e5270a66fc
|
@ -264,7 +264,7 @@
|
|||
await apps.load()
|
||||
// if the portal is loaded from an external URL with a template param
|
||||
const initInfo = await auth.getInitInfo()
|
||||
if (initInfo.init_template) {
|
||||
if (initInfo?.init_template) {
|
||||
creatingFromTemplate = true
|
||||
createAppFromTemplateUrl(initInfo.init_template)
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue