Update store.js
This commit is contained in:
parent
a5ad52d822
commit
f0ed967c87
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue