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 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 | ||||
|   | ||||
| @@ -53,5 +53,5 @@ | ||||
| 		{/if} | ||||
| 	</svelte:fragment> | ||||
|  | ||||
| 	<AssetGrid slot="content" /> | ||||
| 	<AssetGrid slot="content" showMemoryLane /> | ||||
| </UserPageLayout> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user