fix(web): show memory in main timeline (#2775)

This commit is contained in:
Alex 2023-06-15 14:11:14 -05:00 committed by GitHub
parent a59e9e1d9e
commit 77fe2e55be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -21,6 +21,7 @@
export let user: UserResponseDto | undefined = undefined;
export let isAlbumSelectionMode = false;
export let showMemoryLane = false;
let viewportHeight = 0;
let viewportWidth = 0;
@ -131,7 +132,9 @@
on:scroll={handleTimelineScroll}
>
{#if assetGridElement}
<MemoryLane />
{#if showMemoryLane}
<MemoryLane />
{/if}
<section id="virtual-timeline" style:height={$assetGridState.timelineHeight + 'px'}>
{#each $assetGridState.buckets as bucket, bucketIndex (bucketIndex)}
<IntersectionObserver

View File

@ -53,5 +53,5 @@
{/if}
</svelte:fragment>
<AssetGrid slot="content" />
<AssetGrid slot="content" showMemoryLane />
</UserPageLayout>