{#if terms} {#each getObjectKeys(terms) as key (key)} {@const value = terms[key]} {getHumanReadableSearchKey(key as keyof SearchTerms)} {#if value !== true} {#if (key === 'takenAfter' || key === 'takenBefore') && typeof value === 'string'} {getHumanReadableDate(value)} {:else if key === 'personIds' && Array.isArray(value)} {#await getPersonName(value) then personName} {personName} {/await} {:else if value === null || value === ''} {$t('unknown')} {:else} {value} {/if} {/if} {/each} {/if} {#if searchResultAlbums.length > 0} {$t('albums').toUpperCase()} {$t('photos_and_videos').toUpperCase()} {/if} {#if searchResultAssets.length > 0} {:else if !isLoading} {$t('no_results')} {$t('no_results_description')} {/if} {#if isLoading} {/if}
{$t('no_results')}
{$t('no_results_description')}