Fixed GoogleAuth and clearMessages again and updated the routing and navigation

This commit is contained in:
Samuel Andert
2023-07-27 12:41:56 +02:00
parent e2ea57e89f
commit 1ce7b80c9b
13 changed files with 170 additions and 111 deletions

View File

@ -39,6 +39,7 @@
if (composite?.children) {
composite.children.forEach((child) => {
initializeCompositeState(child);
initializeAndLoadServices(child);
mapAndSubscribe(child);
});
@ -161,7 +162,10 @@
}
</script>
<div class={`grid w-full h-full ${composite?.layout?.tailwindClasses || ''}`} style={layoutStyle}>
<div
class={`grid w-full h-full overflow-hidden ${composite?.layout?.tailwindClasses || ''}`}
style={layoutStyle}
>
{#if composite?.servicesLoaded}
{#await loadComponentAndService(composite) then Component}
{#if Component}
@ -171,15 +175,16 @@
store={getCompositeStore(composite.id)}
services={loadedServices}
/>
{:else}
<p>Component {composite.component} not found.</p>
{/if}
{/await}
{/if}
{#if composite?.children}
{#each composite.children as child (child.id)}
<div class="w-full h-full overflow-hidden" style={`grid-area: ${child.slot}`}>
<div
class="grid w-full h-full overflow-hidden ${composite?.layout?.tailwindClasses || ''}"
style={`grid-area: ${child.slot}`}
>
{#if child.servicesLoaded}
{#await loadComponentAndService(child) then ChildComponent}
{#if ChildComponent}