mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-30 20:55:42 +00:00 
			
		
		
		
	| @@ -1,7 +1,7 @@ | ||||
| import { t } from '@lingui/macro'; | ||||
| import { Badge } from '@mantine/core'; | ||||
|  | ||||
| export function YesNoButton(value: any) { | ||||
| export function YesNoButton({ value }: { value: any }) { | ||||
|   const bool = | ||||
|     String(value).toLowerCase().trim() in ['true', '1', 't', 'y', 'yes']; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user