refactor: auto advance asset viewer (#3554)

This commit is contained in:
Jason Rasmussen
2023-08-04 23:26:28 -04:00
committed by GitHub
parent c6abef186c
commit 68b5202730
16 changed files with 77 additions and 78 deletions

View File

@@ -138,12 +138,7 @@
<section id="search-content" class="relative bg-immich-bg dark:bg-immich-dark-bg">
{#if data.results?.assets?.items.length > 0}
<div class="pl-4">
<GalleryViewer
assets={searchResultAssets}
bind:selectedAssets
viewFrom="search-page"
showArchiveIcon={true}
/>
<GalleryViewer assets={searchResultAssets} bind:selectedAssets showArchiveIcon={true} />
</div>
{:else}
<div class="flex min-h-[calc(66vh_-_11rem)] w-full place-content-center items-center dark:text-white">