mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	chore: timeline event group icon when events are all same type (#8322)
https://linear.app/unleash/issue/2-2726/groups-should-show-the-timeline-event-type-icon-when-all-events-inside Displays the event type icon for the group when all events within the group share the same type.  
This commit is contained in:
		
							parent
							
								
									5dae654022
								
							
						
					
					
						commit
						51bfccd8cc
					
				@ -81,7 +81,10 @@ export const EventTimelineEventCircle = ({
 | 
			
		||||
    group,
 | 
			
		||||
    ...props
 | 
			
		||||
}: IEventTimelineEventCircleProps) => {
 | 
			
		||||
    if (group.length === 1) {
 | 
			
		||||
    if (
 | 
			
		||||
        group.length === 1 ||
 | 
			
		||||
        !group.some(({ type }) => type !== group[0].type)
 | 
			
		||||
    ) {
 | 
			
		||||
        const event = group[0];
 | 
			
		||||
 | 
			
		||||
        return (
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user