mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
fix(web): show memory in main timeline (#2775)
This commit is contained in:
@@ -21,6 +21,7 @@
|
|||||||
|
|
||||||
export let user: UserResponseDto | undefined = undefined;
|
export let user: UserResponseDto | undefined = undefined;
|
||||||
export let isAlbumSelectionMode = false;
|
export let isAlbumSelectionMode = false;
|
||||||
|
export let showMemoryLane = false;
|
||||||
|
|
||||||
let viewportHeight = 0;
|
let viewportHeight = 0;
|
||||||
let viewportWidth = 0;
|
let viewportWidth = 0;
|
||||||
@@ -131,7 +132,9 @@
|
|||||||
on:scroll={handleTimelineScroll}
|
on:scroll={handleTimelineScroll}
|
||||||
>
|
>
|
||||||
{#if assetGridElement}
|
{#if assetGridElement}
|
||||||
|
{#if showMemoryLane}
|
||||||
<MemoryLane />
|
<MemoryLane />
|
||||||
|
{/if}
|
||||||
<section id="virtual-timeline" style:height={$assetGridState.timelineHeight + 'px'}>
|
<section id="virtual-timeline" style:height={$assetGridState.timelineHeight + 'px'}>
|
||||||
{#each $assetGridState.buckets as bucket, bucketIndex (bucketIndex)}
|
{#each $assetGridState.buckets as bucket, bucketIndex (bucketIndex)}
|
||||||
<IntersectionObserver
|
<IntersectionObserver
|
||||||
|
|||||||
@@ -53,5 +53,5 @@
|
|||||||
{/if}
|
{/if}
|
||||||
</svelte:fragment>
|
</svelte:fragment>
|
||||||
|
|
||||||
<AssetGrid slot="content" />
|
<AssetGrid slot="content" showMemoryLane />
|
||||||
</UserPageLayout>
|
</UserPageLayout>
|
||||||
|
|||||||
Reference in New Issue
Block a user