From 0cfc05f6a8a0432b44843a3a2081ca999404811f Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Wed, 6 Jan 2021 10:16:21 +0000 Subject: [PATCH] Initialise client app with preview type, left out from previous commit --- packages/client/src/index.js | 1 + 1 file changed, 1 insertion(+) 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