mirror of
				https://github.com/immich-app/immich.git
				synced 2025-11-03 19:29:32 -05:00 
			
		
		
		
	Fix test
This commit is contained in:
		
							parent
							
								
									137b2ffdd0
								
							
						
					
					
						commit
						811494e9ed
					
				@ -12,14 +12,14 @@
 | 
				
			|||||||
	let assetInfo: AssetResponseDto;
 | 
						let assetInfo: AssetResponseDto;
 | 
				
			||||||
	let assetData: string;
 | 
						let assetData: string;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	let copyImageToClipboard : (src: string) => Promise<Blob>;
 | 
						let copyImageToClipboard: (src: string) => Promise<Blob>;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	onMount(async () => {
 | 
						onMount(async () => {
 | 
				
			||||||
		const { data } = await api.assetApi.getAssetById(assetId);
 | 
							const { data } = await api.assetApi.getAssetById(assetId);
 | 
				
			||||||
		assetInfo = data;
 | 
							assetInfo = data;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		//Import hack :( see https://github.com/vadimkorr/svelte-carousel/issues/27#issuecomment-851022295
 | 
							//Import hack :( see https://github.com/vadimkorr/svelte-carousel/issues/27#issuecomment-851022295
 | 
				
			||||||
		const module = await import('copy-image-clipboard')
 | 
							const module = await import('copy-image-clipboard');
 | 
				
			||||||
		copyImageToClipboard = module.copyImageToClipboard;
 | 
							copyImageToClipboard = module.copyImageToClipboard;
 | 
				
			||||||
	});
 | 
						});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user