File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
chaoscenter/web/src/utils Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -45,12 +45,14 @@ export function getPropsBasedOnExperimentRunFaultStatus(status: Status): StatusP
4545 iconName : 'tick-circle' ,
4646 color : Color . GREEN_800
4747 } ;
48- case ExperimentRunFaultStatus . COMPLETED_WITH_PROBE_FAILURE :
49- case ExperimentRunFaultStatus . COMPLETED_WITH_ERROR : // <!-- needed for backwards compatibility -->
48+ case ExperimentRunStatus . COMPLETED_WITH_PROBE_FAILURE :
49+ case ExperimentRunStatus . COMPLETED_WITH_ERROR :
5050 return {
51- iconName : 'error' ,
52- color : Color . ORANGE_500
51+ iconName : 'warning' ,
52+ color : Color . ORANGE_500 ,
53+ bgColor : `var(--orange-100)`
5354 } ;
55+
5456 case ExperimentRunFaultStatus . ERROR :
5557 case ExperimentRunFaultStatus . FAILED : // <!-- needed for backwards compatibility -->
5658 return {
You can’t perform that action at this time.
0 commit comments