{#if searchApi.isLoading}
{$t('app.search.command_palette.loading')}
{/if} {#if !hasVisibleResults && !searchApi.isLoading} {$t('app.search.command_palette.empty')} {/if} {#if !hasQuery && filteredRecents.length > 0}
{#each filteredRecents as item (item.kind + item.id)} handleSelect(item)}>
{item.title}
{#if item.subtitle}
{item.subtitle}
{/if}
{/each}
{/if} {#if hasQuery} {#if scope === 'org'} {/if} item.kind === 'settings')} fallbackIcon={Settings} onSelect={handleSelect} /> {:else} {/if}