fix: routing broken when naving to scereen with spaces
This commit is contained in:
parent
c5eae1ec2f
commit
fcdcd16116
|
@ -14,7 +14,9 @@
|
|||
if ($leftover) {
|
||||
// Get the correct screen children.
|
||||
const screenChildren = $store.pages[$params.page]._screens.find(
|
||||
screen => screen.props._instanceName === $params.screen
|
||||
screen =>
|
||||
(screen.props._instanceName === $params.screen
|
||||
|| screen.props._instanceName === decodeURIComponent($params.screen))
|
||||
).props._children
|
||||
findComponent(componentIds, screenChildren)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue