mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	refactor(react/settings): use better option mechanism
This commit is contained in:
		| @@ -65,7 +65,7 @@ function FormSelectGroup<T>({ values, keyProperty, titleProperty, currentValue } | ||||
|         return ( | ||||
|             <option | ||||
|                 value={item[keyProperty] as any} | ||||
|                 selected={item[keyProperty] == currentValue}    // triple equal is intentionally not used here, for comparisons with numeric values | ||||
|                 selected={item[keyProperty] === currentValue} | ||||
|             > | ||||
|                 {item[titleProperty ?? keyProperty] ?? item[keyProperty] as any} | ||||
|             </option> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user