mirror of
				https://github.com/KevinMidboe/immich.git
				synced 2025-10-29 17:40:28 +00:00 
			
		
		
		
	Fixed upload asset to album in asset selection (#579)
* Fixed error uploading a file from album * Fixed album selection mode show viewing asset stage * Navigate back after uploading asset to album
This commit is contained in:
		| @@ -16,6 +16,7 @@ | ||||
| 	let viewportHeight = 0; | ||||
| 	let viewportWidth = 0; | ||||
| 	let assetGridElement: HTMLElement; | ||||
| 	export let isAlbumSelectionMode = false; | ||||
|  | ||||
| 	onMount(async () => { | ||||
| 		const { data: assetCountByTimebucket } = await api.assetApi.getAssetCountByTimeBucket({ | ||||
| @@ -87,6 +88,7 @@ | ||||
| 					<div id={'bucket_' + bucket.bucketDate} style:height={bucket.bucketHeight + 'px'}> | ||||
| 						{#if intersecting} | ||||
| 							<AssetDateGroup | ||||
| 								{isAlbumSelectionMode} | ||||
| 								assets={bucket.assets} | ||||
| 								bucketDate={bucket.bucketDate} | ||||
| 								bucketHeight={bucket.bucketHeight} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user