mirror of
https://github.com/wukko/cobalt.git
synced 2025-02-13 14:16:25 +01:00
web/PickerDialog: don't render an item if it has no url
This commit is contained in:
parent
d8eda230e8
commit
366279a3bc
1 changed files with 3 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue