From c86d191f6285d60816916ab8b07e31b93b6395cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gast=C3=B3n=20Fournier?= Date: Wed, 18 Jan 2023 10:19:25 +0100 Subject: [PATCH] fix: add environment to event log card (#2912) ## About the changes Some changes recorded in the event log apply only to one particular environment. This is currently not visible in the event log card, but it is present in the recorded event: | Full event | Event card | | --- | --- | | ![Screenshot from 2023-01-17 14-22-55](https://user-images.githubusercontent.com/455064/212910227-77b5e81c-60fe-4891-bfad-e3358e5a0ba5.png) | ![image](https://user-images.githubusercontent.com/455064/212910207-7cae700b-3f50-4035-9bcd-897de62d76d2.png) | This PR makes that information visible on the event card --- frontend/src/component/events/EventCard/EventCard.tsx | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/frontend/src/component/events/EventCard/EventCard.tsx b/frontend/src/component/events/EventCard/EventCard.tsx index 91235d0744..bb04154ff3 100644 --- a/frontend/src/component/events/EventCard/EventCard.tsx +++ b/frontend/src/component/events/EventCard/EventCard.tsx @@ -113,6 +113,17 @@ const EventCard = ({ entry }: IEventCardProps) => { } /> + + + Environment: + +
{entry.environment}
+ + } + />