From 5882334a026bd4162dfc492e251f5dce1e8db633 Mon Sep 17 00:00:00 2001 From: Eddasol Date: Fri, 13 Dec 2024 15:31:10 +0100 Subject: [PATCH] Use warning instead of error for cancelled mission --- .../Displays/MissionDisplays/MissionStatusDisplay.tsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/frontend/src/components/Displays/MissionDisplays/MissionStatusDisplay.tsx b/frontend/src/components/Displays/MissionDisplays/MissionStatusDisplay.tsx index 38e09a206..5d1ae71cb 100644 --- a/frontend/src/components/Displays/MissionDisplays/MissionStatusDisplay.tsx +++ b/frontend/src/components/Displays/MissionDisplays/MissionStatusDisplay.tsx @@ -39,17 +39,18 @@ const MissionStatusIcon = ({ status }: StatusProps) => { case MissionStatus.Ongoing: { return } - case MissionStatus.Failed: { - return - } case MissionStatus.Successful: { return ( ) } - case MissionStatus.PartiallySuccessful: { + case MissionStatus.PartiallySuccessful: + case MissionStatus.Cancelled: { return } + case MissionStatus.Failed: { + return + } } return }