bugfix: css not applied after template component added
This commit is contained in:
parent
34f74d5d20
commit
fad9337af9
|
@ -827,6 +827,7 @@ const addTemplatedComponent = store => props => {
|
||||||
state.currentComponentInfo._children = state.currentComponentInfo._children.concat(
|
state.currentComponentInfo._children = state.currentComponentInfo._children.concat(
|
||||||
props
|
props
|
||||||
)
|
)
|
||||||
|
state.currentPreviewItem._css = generate_screen_css([state.currentPreviewItem.props])
|
||||||
|
|
||||||
_saveCurrentPreviewItem(state)
|
_saveCurrentPreviewItem(state)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue