web/PickerDialog: don't render an item if it has no url

This commit is contained in:
wukko 2025-02-11 15:25:01 +06:00
parent d8eda230e8
commit 366279a3bc
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -50,7 +50,9 @@
<div class="picker-body">
{#if items}
{#each items as item, i}
{#if item.url}
<PickerItem {item} number={i + 1} />
{/if}
{/each}
{/if}
</div>