1
0
Fork 0
mirror of synced 2024-07-01 20:41:03 +12:00

Don't show checkbox label if no label specified

This commit is contained in:
Andrew Kingston 2022-02-24 09:12:14 +00:00
parent 49738cf599
commit d7d7559402

View file

@ -47,7 +47,9 @@
<use xlink:href="#spectrum-css-icon-Dash100" />
</svg>
</span>
<span class="spectrum-Checkbox-label">{text || ""}</span>
{#if text}
<span class="spectrum-Checkbox-label">{text}</span>
{/if}
</label>
<style>