mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	fix: actions table UI improvements (#6042)
Includes some small fixes and improvements to the actions table UI: - Fix webhook icon not properly loading - Make actions execution param names bold in the tooltip - Make filters param names bold in the tooltip
This commit is contained in:
		
							parent
							
								
									32dd377c3e
								
							
						
					
					
						commit
						6ee4d2724e
					
				| @ -45,7 +45,8 @@ export const ProjectActionsActionsCell = ({ | ||||
|                                     {Object.entries(executionParams).map( | ||||
|                                         ([param, value]) => ( | ||||
|                                             <li key={param}> | ||||
|                                                 {param}: {value} | ||||
|                                                 <strong>{param}</strong>:{' '} | ||||
|                                                 {value} | ||||
|                                             </li> | ||||
|                                         ), | ||||
|                                     )} | ||||
|  | ||||
| @ -28,7 +28,7 @@ export const ProjectActionsFiltersCell = ({ | ||||
|                     <> | ||||
|                         {filters.map(([parameter, value]) => ( | ||||
|                             <StyledItem key={parameter}> | ||||
|                                 {parameter}: {value} | ||||
|                                 <strong>{parameter}</strong>: {value} | ||||
|                             </StyledItem> | ||||
|                         ))} | ||||
|                     </> | ||||
|  | ||||
| @ -6,6 +6,7 @@ import webhooksIcon from 'assets/icons/webhooks.svg'; | ||||
| import { Link as RouterLink } from 'react-router-dom'; | ||||
| import { ComponentType } from 'react'; | ||||
| import { wrapperStyles } from 'component/common/Table/cells/LinkCell/LinkCell.styles'; | ||||
| import { formatAssetPath } from 'utils/formatPath'; | ||||
| 
 | ||||
| const StyledCell = styled(Box)({ | ||||
|     display: 'flex', | ||||
| @ -49,7 +50,7 @@ export const ProjectActionsTriggerCell = ({ | ||||
|         <TextCell> | ||||
|             <StyledCell> | ||||
|                 <StyledIcon | ||||
|                     src={webhooksIcon} | ||||
|                     src={formatAssetPath(webhooksIcon)} | ||||
|                     alt='Incoming webhook' | ||||
|                     variant='rounded' | ||||
|                 /> | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user