fix: frontend not loading when naving to component

This commit is contained in:
Michael Shanks 2020-06-30 10:39:48 +01:00
parent 8860c8acb7
commit 472a25ab7d
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@
if ($leftover) { if ($leftover) {
// Get the correct screen children. // Get the correct screen children.
const screenChildren = $store.pages[$params.page]._screens.find( const screenChildren = $store.pages[$params.page]._screens.find(
screen => screen.name === $params.screen screen => screen.props._instanceName === $params.screen
).props._children ).props._children
findComponent(componentIds, screenChildren) findComponent(componentIds, screenChildren)
} }