mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	fix: add missing key to list of application projects (#6243)
This is in the applications table. To achieve it, we also wrap the text in a span.
This commit is contained in:
		
							parent
							
								
									2999f8df2d
								
							
						
					
					
						commit
						011008a361
					
				| @ -24,13 +24,14 @@ const StyledLink = styled(Link)(() => ({ | ||||
| 
 | ||||
| const formatProject = (projectInfo: IApplicationUsage, index: number) => { | ||||
|     const separator = index !== 0 ? ', ' : ''; | ||||
|     const key = projectInfo.project; | ||||
|     const projectElement = | ||||
|         projectInfo.project !== '*' ? ( | ||||
|             <StyledLink to={`/projects/${projectInfo.project}`}> | ||||
|             <StyledLink key={key} to={`/projects/${projectInfo.project}`}> | ||||
|                 {projectInfo.project} | ||||
|             </StyledLink> | ||||
|         ) : ( | ||||
|             projectInfo.project | ||||
|             <span key={key}>{projectInfo.project}</span> | ||||
|         ); | ||||
| 
 | ||||
|     const environments = ` (${projectInfo.environments.join(', ')})`; | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user