Update store.js

This commit is contained in:
Martin McKeaveney 2020-02-20 21:21:16 +00:00 committed by GitHub
parent d57c0ebd6a
commit b46d33ad59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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