Update store.js

This commit is contained in:
Martin McKeaveney 2020-02-20 21:21:16 +00:00 committed by GitHub
parent a5ad52d822
commit f0ed967c87
1 changed files with 1 additions and 5 deletions

View File

@ -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