adding check for initinfo
This commit is contained in:
parent
78de471948
commit
a33204e4cf
|
@ -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