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