mirror of
				https://github.com/immich-app/immich.git
				synced 2025-10-31 02:39:03 -04:00 
			
		
		
		
	fix(web): Places and Things thumbnail cannot be clicked (#3133)
* fix(web): Places and Things thumbnail cannot be clicked * fix openapi * fix test
This commit is contained in:
		
							parent
							
								
									6588bb3d79
								
							
						
					
					
						commit
						d064477a45
					
				| @ -44,16 +44,15 @@ | ||||
|     return [235, 235]; | ||||
|   })(); | ||||
| 
 | ||||
|   const thumbnailClickedHandler = (e: Event) => { | ||||
|   const thumbnailClickedHandler = () => { | ||||
|     if (!disabled) { | ||||
|       e.preventDefault(); | ||||
|       dispatch('click', { asset }); | ||||
|     } | ||||
|   }; | ||||
| 
 | ||||
|   const thumbnailKeyDownHandler = (e: KeyboardEvent) => { | ||||
|     if (e.key === 'Enter') { | ||||
|       thumbnailClickedHandler(e); | ||||
|       thumbnailClickedHandler(); | ||||
|     } | ||||
|   }; | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user