mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	feat: hide old change request overview if the flag is active.
This commit is contained in:
		
							parent
							
								
									97ad814adf
								
							
						
					
					
						commit
						ad3c7295be
					
				| @ -51,10 +51,14 @@ const ProjectOverview: FC = () => { | ||||
|         setLastViewed(projectId); | ||||
|     }, [projectId, setLastViewed]); | ||||
| 
 | ||||
|     const hideChangeRequestOverview = useUiFlag('simplifyProjectOverview'); | ||||
| 
 | ||||
|     return ( | ||||
|         <StyledContainer key={projectId}> | ||||
|             <StyledContentContainer> | ||||
|                 {hideChangeRequestOverview ? null : ( | ||||
|                     <ProjectOverviewChangeRequests project={projectId} /> | ||||
|                 )} | ||||
|                 <ConditionallyRender | ||||
|                     condition={outdatedSdksBannerEnabled} | ||||
|                     show={<OutdatedSdksBanner project={projectId} />} | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user