{#if loading}
{/if}
{#if hubNotAvailable}
{:else if items.length > 0 && apps.length > 0}
{#if items.length == 0}
{:else}
{#each items as item (item.path)}
dispatch('pick', item)} >
{#if item['app'] in APP_TO_ICON_COMPONENT}
{/if}
{item.summary ?? ''}
{item.path}
{#if kind !== 'script'}
{capitalize(kind)}
{/if}
{/each}
{/if} {#if items.length == 40}
There are more items than being displayed. Refine your search.
{/if} {:else}
{#each Array(10).fill(0) as _}
{/each} {/if}