Compare commits
2 commits
d2531c0dd9
...
22867f269e
Author | SHA1 | Date | |
---|---|---|---|
|
22867f269e | ||
|
424c26e09e |
3 changed files with 5 additions and 5 deletions
|
@ -8,7 +8,7 @@
|
||||||
let streamId = $state("doggoat");
|
let streamId = $state("doggoat");
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<Dialog close={() => close()}>
|
<Dialog close={() => close?.()}>
|
||||||
<div class="add-stream-dialog">
|
<div class="add-stream-dialog">
|
||||||
{#if step === 0}
|
{#if step === 0}
|
||||||
<div class="step-0">
|
<div class="step-0">
|
||||||
|
@ -46,7 +46,7 @@
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
onclick={() => {
|
onclick={() => {
|
||||||
add({ type, streamId });
|
add?.({ type, streamId });
|
||||||
step = 0;
|
step = 0;
|
||||||
}}>Add</button
|
}}>Add</button
|
||||||
>
|
>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
let { streams = $bindable(null), close } = $props();
|
let { streams = $bindable(null), close } = $props();
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<Dialog close={() => close()}>
|
<Dialog close={() => close?.()}>
|
||||||
<pre>
|
<pre>
|
||||||
{JSON.stringify(streams)}
|
{JSON.stringify(streams)}
|
||||||
</pre>
|
</pre>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<script>
|
<script>
|
||||||
export let stream;
|
let {stream, type} = $props();
|
||||||
export let type;
|
|
||||||
let src;
|
let src;
|
||||||
let data;
|
let data;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue