diff --git a/src/lib/components/Recipies/oRecipe.svelte b/src/lib/components/Recipies/oRecipe.svelte index 8fd00dc..4c2c0f1 100644 --- a/src/lib/components/Recipies/oRecipe.svelte +++ b/src/lib/components/Recipies/oRecipe.svelte @@ -16,7 +16,7 @@ children: [ { id: 'child', - component: 'LearnReady', + // component: 'LearnReady', slot: 'left', store: { xstate: 'NOTREADY' diff --git a/src/lib/core/Composite.svelte b/src/lib/core/Composite.svelte index 3bb948b..f92732b 100644 --- a/src/lib/core/Composite.svelte +++ b/src/lib/core/Composite.svelte @@ -1,6 +1,7 @@ @@ -179,17 +181,14 @@ > {#if composite?.servicesLoaded} {#await loadComponentAndService(composite) then Component} - {#if Component} - - {/if} + {/await} {/if} - {#if composite?.children} {#each composite.children as child (child.id)}
{#if child.servicesLoaded} {#await loadComponentAndService(child) then ChildComponent} - {#if ChildComponent} - - {#if child.children && child.children.length} - - {/if} - {:else} -

Component {child.component} not found.

+ + {#if child.children && child.children.length} + {/if} {/await} - {:else} -

Loading services for child {child.id}...

{/if}
{/each} diff --git a/src/lib/core/FallBack.svelte b/src/lib/core/FallBack.svelte new file mode 100644 index 0000000..c4fb85e --- /dev/null +++ b/src/lib/core/FallBack.svelte @@ -0,0 +1,4 @@ + \ No newline at end of file