From 746efe26bfad86db5458a0d4b1e67e566840900d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20G=C3=B3is?= Date: Thu, 10 Oct 2024 15:28:20 +0100 Subject: [PATCH] chore: fix grouping of signals that have different icons --- .../EventTimelineEventGroup/EventTimelineEventCircle.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/src/component/events/EventTimeline/EventTimelineEventGroup/EventTimelineEventCircle.tsx b/frontend/src/component/events/EventTimeline/EventTimelineEventGroup/EventTimelineEventCircle.tsx index 3f9ef7bb9510..51be8a841060 100644 --- a/frontend/src/component/events/EventTimeline/EventTimelineEventGroup/EventTimelineEventCircle.tsx +++ b/frontend/src/component/events/EventTimeline/EventTimelineEventGroup/EventTimelineEventCircle.tsx @@ -100,7 +100,10 @@ export const EventTimelineEventCircle = ({ }: IEventTimelineEventCircleProps) => { if ( group.length === 1 || - !group.some(({ type }) => type !== group[0].type) + !group.some( + ({ type, icon }) => + type !== group[0].type || icon !== group[0].icon, + ) ) { const event = group[0];