Fixed bug in WorkflowRunStatus component where skipped & cancelled status were shown as completed

Signed-off-by: Karthikeyan Perumal <7823084+karthikeyanjp@users.noreply.github.com>
This commit is contained in:
Karthikeyan Perumal
2024-03-08 20:28:13 -06:00
parent 8ab3218c1a
commit 692316d231
2 changed files with 7 additions and 1 deletions
@@ -83,7 +83,8 @@ export function getStatusDescription({
return 'In progress';
case 'completed':
switch (conclusion?.toLocaleLowerCase('en-US')) {
case 'skipped' || 'canceled':
case 'skipped':
case 'cancelled':
return 'Aborted';
case 'timed_out':
return 'Timed out';