diff --git a/ui/src/routes/+page.svelte b/ui/src/routes/+page.svelte index c5a2403..e3aa663 100644 --- a/ui/src/routes/+page.svelte +++ b/ui/src/routes/+page.svelte @@ -7,9 +7,10 @@ import { activeInputs } from '$lib/stores/inputs'; let mixerAdvanced = false; + let showInactiveInputs = false; -
+
@@ -37,19 +38,15 @@
- {#await input.streams()} -
- Loading... -
@ {input.name} - {:then streams} - {#each Object.keys(streams) as idstream} - {@const title = streams[idstream]} + {#if input.streams.length} + {#each Object.keys(input.streams) as idstream} + {@const title = input.streams[idstream]} {title} {/each} @ {input.name} - {:catch error} + {:else} {input.name} activée - {/await} + {/if}
@@ -59,7 +56,7 @@
-
+

@@ -82,20 +79,36 @@
{#if $activeSources.length > 0} -
+

- - Applications +
+
+ + Applications +
+

{/if} -
+

- - Sources +
+
+ + Sources +
+ +

- +