mirror of
				https://github.com/KevinMidboe/immich.git
				synced 2025-10-29 17:40:28 +00: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:
		| @@ -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(); | ||||
|     } | ||||
|   }; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user