fix empty tags on schedules

This commit is contained in:
Ruben Fiszel
2024-02-21 23:16:06 +01:00
parent a6cae2915a
commit 82ca8d0224
@@ -21,10 +21,12 @@
{#if workerTags}
{#if $workerTags?.length ?? 0 > 0}
<select
bind:value={tag}
value={tag}
on:change={(e) => {
if (tag == '') {
tag = undefined
} else if (e?.target?.['value']) {
tag = e.target?.['value']
}
}}
>