Merge pull request #409 from mjashanks/bugfixes

Some simple fixes
This commit is contained in:
Michael Shanks 2020-07-02 16:34:19 +01:00 committed by GitHub
commit 4f82b0c0aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -28,7 +28,7 @@
</script>
<section>
<Button purple wide on:click{newWorkflow}>Create New Workflow</Button>
<Button purple wide on:click={newWorkflow}>Create New Workflow</Button>
<ul>
{#each $workflowStore.workflows as workflow}
<li

View File

@ -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)
}