mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	feat: beta indicator for project insights tab (#6686)
This commit is contained in:
		
							parent
							
								
									c4af2c96e5
								
							
						
					
					
						commit
						df9229a90c
					
				| @ -99,6 +99,7 @@ export const Project = () => { | ||||
|                       title: 'Insights', | ||||
|                       path: `${basePath}/insights`, | ||||
|                       name: 'insights', | ||||
|                       new: true, | ||||
|                   }, | ||||
|               ] | ||||
|             : []), | ||||
| @ -272,12 +273,12 @@ export const Project = () => { | ||||
|                                         tab.isEnterprise ? 'end' : undefined | ||||
|                                     } | ||||
|                                     icon={ | ||||
|                                         <> | ||||
|                                         <span> | ||||
|                                             <ConditionallyRender | ||||
|                                                 condition={Boolean(tab.new)} | ||||
|                                                 show={ | ||||
|                                                     <StyledBadge color='success'> | ||||
|                                                         New | ||||
|                                                         Beta | ||||
|                                                     </StyledBadge> | ||||
|                                                 } | ||||
|                                             /> | ||||
| @ -285,7 +286,7 @@ export const Project = () => { | ||||
|                                                 isPro() && | ||||
|                                                 enterpriseIcon) || | ||||
|                                                 undefined} | ||||
|                                         </> | ||||
|                                         </span> | ||||
|                                     } | ||||
|                                 /> | ||||
|                             ); | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user