Fix undefined input.streams error
This commit is contained in:
parent
2b50886ed0
commit
24342f5062
@ -25,7 +25,7 @@
|
|||||||
</li>
|
</li>
|
||||||
{/if}
|
{/if}
|
||||||
{#each $inputsList as input, iid}
|
{#each $inputsList as input, iid}
|
||||||
{#if showInactives || input.active}
|
{#if input.streams && (showInactives || input.active)}
|
||||||
{#each Object.keys(input.streams) as idstream}
|
{#each Object.keys(input.streams) as idstream}
|
||||||
{@const title = input.streams[idstream]}
|
{@const title = input.streams[idstream]}
|
||||||
<li class="list-group-item py-3 d-flex flex-column">
|
<li class="list-group-item py-3 d-flex flex-column">
|
||||||
|
@ -48,7 +48,7 @@
|
|||||||
<div class="d-inline-block me-3">
|
<div class="d-inline-block me-3">
|
||||||
<div class="d-flex justify-content-between align-items-center">
|
<div class="d-flex justify-content-between align-items-center">
|
||||||
<div>
|
<div>
|
||||||
{#if input.streams.length}
|
{#if input.streams && input.streams.length}
|
||||||
{#each Object.keys(input.streams) as idstream}
|
{#each Object.keys(input.streams) as idstream}
|
||||||
{@const title = input.streams[idstream]}
|
{@const title = input.streams[idstream]}
|
||||||
<strong>{title}</strong>
|
<strong>{title}</strong>
|
||||||
|
Loading…
Reference in New Issue
Block a user