File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
src/pages/scientificServices/pipelines/tabs/history/details/components Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -131,6 +131,7 @@ export const JobTimeline = ({ pipelineRunResult }: JobTimelineProps) => {
131131 backgroundColor : 'white' ,
132132 borderRadius : '4px' ,
133133 minHeight : '4rem' ,
134+ opacity : ! event . timestamp && pipelineRunResult . jobReport . status === 'FAILED' ? 0.5 : 1 ,
134135 } }
135136 >
136137 { /* Success icon */ }
@@ -145,7 +146,17 @@ export const JobTimeline = ({ pipelineRunResult }: JobTimelineProps) => {
145146 width : '100%' ,
146147 } }
147148 >
148- < div style = { { fontWeight : 'bold' } } > { event . event } </ div >
149+ < div
150+ style = { {
151+ fontWeight : 'bold' ,
152+ color :
153+ ! event . timestamp && pipelineRunResult . jobReport . status === 'FAILED'
154+ ? colors . dark ( 0.5 )
155+ : colors . dark ( ) ,
156+ } }
157+ >
158+ { event . event }
159+ </ div >
149160 < div >
150161 { event . timestamp ? (
151162 new Date ( event . timestamp ) . toLocaleString ( )
You can’t perform that action at this time.
0 commit comments