Skip to content

Commit 9751f94

Browse files
committed
refactor - StatusComponent - waitingToStart status icon update
1 parent 6ea9924 commit 9751f94

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/Shared/Components/CICDHistory/utils.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,8 +381,6 @@ export const getTriggerStatusIcon = (status: string) => {
381381
case TERMINAL_STATUS_MAP.INITIATING:
382382
case TERMINAL_STATUS_MAP.WAITING_TO_START:
383383
return StatusType.INPROGRESS
384-
case TERMINAL_STATUS_MAP.TIMED_OUT:
385-
return StatusType.FAILED
386384
default:
387385
return status
388386
}

src/Shared/Components/StatusComponent/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ export const getIconName = (status: string, showAnimatedIcon: boolean): IconName
4545
case 'running':
4646
case 'request_accepted':
4747
case 'starting':
48+
case 'waiting-to-start':
4849
return 'ic-circle-loader'
4950
case 'inprogress':
50-
case 'waiting-to-start':
5151
return 'ic-in-progress'
5252
case 'hibernating':
5353
case 'hibernated':

0 commit comments

Comments
 (0)