diff --git a/packages/client/src/index.js b/packages/client/src/index.js index 3ef22d3362..19ac28d6fb 100644 --- a/packages/client/src/index.js +++ b/packages/client/src/index.js @@ -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