Browse Source
Merge pull request #409 from mjashanks/bugfixes
Some simple fixes
gh-pages
Michael Shanks
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
4 additions and
2 deletions
-
packages/builder/src/components/workflow/WorkflowPanel/WorkflowList/WorkflowList.svelte
-
packages/builder/src/pages/[application]/frontend/[page]/[screen]/_layout.svelte
|
|
@ -28,7 +28,7 @@ |
|
|
</script> |
|
|
</script> |
|
|
|
|
|
|
|
|
<section> |
|
|
<section> |
|
|
<Button purple wide on:click{newWorkflow}>Create New Workflow</Button> |
|
|
<Button purple wide on:click={newWorkflow}>Create New Workflow</Button> |
|
|
<ul> |
|
|
<ul> |
|
|
{#each $workflowStore.workflows as workflow} |
|
|
{#each $workflowStore.workflows as workflow} |
|
|
<li |
|
|
<li |
|
|
|
|
|
@ -14,7 +14,9 @@ |
|
|
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.props._instanceName === $params.screen |
|
|
screen => |
|
|
|
|
|
(screen.props._instanceName === $params.screen |
|
|
|
|
|
|| screen.props._instanceName === decodeURIComponent($params.screen)) |
|
|
).props._children |
|
|
).props._children |
|
|
findComponent(componentIds, screenChildren) |
|
|
findComponent(componentIds, screenChildren) |
|
|
} |
|
|
} |
|
|
|