{#if terms} {#each getObjectKeys(terms) as searchKey (searchKey)} {@const value = terms[searchKey]} {getHumanReadableSearchKey(searchKey as keyof SearchTerms)} {#if value !== true} {#if (searchKey === 'takenAfter' || searchKey === 'takenBefore') && typeof value === 'string'} {getHumanReadableDate(value)} {:else if searchKey === 'personIds' && Array.isArray(value)} {#await getPersonName(value) then personName} {personName} {/await} {:else if searchKey === 'tagIds' && (Array.isArray(value) || value === null)} {#await getTagNames(value) then tagNames} {tagNames} {/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} {#if assetInteraction.selectionActive} cancelMultiselect(assetInteraction)} > { for (const id of ids) { const asset = searchResultAssets.find((asset) => asset.id === id); if (asset) { asset.isFavorite = isFavorite; } } }} /> {#if assetInteraction.isAllUserOwned} {/if} {#if $preferences.tags.enabled && assetInteraction.isAllUserOwned} {/if} {:else} goto(previousRoute)} backIcon={mdiArrowLeft}> {/if}
{$t('no_results')}
{$t('no_results_description')}