1
0
Fork 0
mirror of synced 2024-07-03 21:40:55 +12:00

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

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