mirror of
				https://github.com/immich-app/immich.git
				synced 2025-11-03 19:17:11 -05:00 
			
		
		
		
	fix(web): show memory in main timeline (#2775)
This commit is contained in:
		
							parent
							
								
									a59e9e1d9e
								
							
						
					
					
						commit
						77fe2e55be
					
				@ -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>
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user