From f0ed967c87252d9800096519633e3a4e8266a72a Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Thu, 20 Feb 2020 21:21:16 +0000 Subject: [PATCH] Update store.js --- packages/builder/src/builderStore/store.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/builder/src/builderStore/store.js b/packages/builder/src/builderStore/store.js index e6b5bf03d7..a4a08ec187 100644 --- a/packages/builder/src/builderStore/store.js +++ b/packages/builder/src/builderStore/store.js @@ -790,11 +790,7 @@ const setComponentProp = store => (name, value) => { const current_component = s.currentComponentInfo s.currentComponentInfo[name] = value - if (s.currentFrontEndType) { - _savePage(s) - } else { - _saveScreen(store, s, s.currentPreviewItem) - } + _saveCurrentPreviewItem(s) s.currentComponentInfo = current_component return s