Fix merge bug

This commit is contained in:
Andrew Kingston 2020-12-09 15:58:34 +00:00
parent 045f0f1bfe
commit e0d902d279
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ export const getFrontendStore = () => {
const screen = get(allScreens).find(screen => screen._id === screenId) const screen = get(allScreens).find(screen => screen._id === screenId)
if (!screen) return state if (!screen) return state
state.currentFrontEndType = FrontendTypes.SCREEN state.currentFrontEndType = FrontendTypes.SCREEN
state.currentAssetId = selectedScreen._id state.currentAssetId = screen._id
state.currentView = "detail" state.currentView = "detail"
state.selectedComponentId = screen.props?._id state.selectedComponentId = screen.props?._id
return state return state