mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	fix(react/revisions): selection not possible due to new hierarchy
This commit is contained in:
		| @@ -53,7 +53,7 @@ export default function FormList({ children, onSelect, style, fullHeight }: Form | ||||
|                     ...builtinStyles, | ||||
|                     position: "relative", | ||||
|                 }} onClick={(e) => { | ||||
|                     const value = (e.target as HTMLElement)?.dataset?.value; | ||||
|                     const value = (e.target as HTMLElement).closest("a.dropdown-item")?.dataset?.value; | ||||
|                     if (value && onSelect) { | ||||
|                         onSelect(value); | ||||
|                     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user