mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	fix: ensure linkTemplates defaults to an empty array if not provided
This commit is contained in:
		
							parent
							
								
									5708acb5b7
								
							
						
					
					
						commit
						520d708978
					
				@ -663,7 +663,7 @@ class ProjectStore implements IProjectStore {
 | 
			
		||||
                description: row.feature_naming_description,
 | 
			
		||||
            },
 | 
			
		||||
            ...(projectLinkTemplatesEnabled
 | 
			
		||||
                ? { linkTemplates: row.link_templates }
 | 
			
		||||
                ? { linkTemplates: row.link_templates || [] }
 | 
			
		||||
                : {}),
 | 
			
		||||
        };
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user