mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	fix: update 'Select all' label to be more descriptive
This commit is contained in:
		
							parent
							
								
									698c6a0564
								
							
						
					
					
						commit
						f0e576f28f
					
				| @ -37,7 +37,7 @@ export const LabelFilterItem: FC<LabelFilterItemProps> = ({ | ||||
|             options={optionsWithSelectAll} | ||||
|             value={isAllSelected ? options : value} | ||||
|             getOptionLabel={(option) => | ||||
|                 option === SELECT_ALL ? 'Select all' : option | ||||
|                 option === SELECT_ALL ? '(Select all)' : option | ||||
|             } | ||||
|             onChange={(_, newValues, reason, details) => { | ||||
|                 if (details?.option === SELECT_ALL) { | ||||
| @ -55,7 +55,16 @@ export const LabelFilterItem: FC<LabelFilterItemProps> = ({ | ||||
|                         } | ||||
|                         style={{ marginRight: 8 }} | ||||
|                     /> | ||||
|                     {option === SELECT_ALL ? 'Select all' : option} | ||||
|                     {option === SELECT_ALL ? ( | ||||
|                         <Typography | ||||
|                             component='span' | ||||
|                             sx={{ color: 'text.secondary' }} | ||||
|                         > | ||||
|                             Select all | ||||
|                         </Typography> | ||||
|                     ) : ( | ||||
|                         option | ||||
|                     )} | ||||
|                 </li> | ||||
|             )} | ||||
|             renderTags={(value, getTagProps) => { | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user