Initialise client app with preview type, left out from previous commit

This commit is contained in:
Andrew Kingston 2021-01-06 10:16:21 +00:00
parent 13134a8fea
commit 6a6cbd6623
1 changed files with 1 additions and 0 deletions

View File

@ -11,6 +11,7 @@ const loadBudibase = () => {
screen: window["##BUDIBASE_PREVIEW_SCREEN##"],
selectedComponentId: window["##BUDIBASE_SELECTED_COMPONENT_ID##"],
previewId: window["##BUDIBASE_PREVIEW_ID##"],
previewType: window["##BUDIBASE_PREVIEW_TYPE##"],
})
// Create app if one hasn't been created yet