File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
ui/src/app/components/rollout Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ export const Rollout = () => {
199
199
</ div >
200
200
</ ThemeDiv >
201
201
) }
202
- { ( rollout . strategy || '' ) . toLowerCase ( ) === 'canary' && rollout . steps && rollout . steps . length > 0 && (
202
+ { ( rollout ? .strategy || '' ) . toLowerCase ( ) === 'canary' && rollout . steps && rollout . steps . length > 0 && (
203
203
< ThemeDiv className = 'info steps' >
204
204
< ThemeDiv className = 'info__title' > Steps</ ThemeDiv >
205
205
< div style = { { marginTop : '1em' } } >
@@ -338,7 +338,7 @@ const AnalysisRunWidget = (props: {analysisRuns: RolloutAnalysisRunInfo[]}) => {
338
338
< div > Created at { formatTimestamp ( JSON . stringify ( ar . objectMeta . creationTimestamp ) ) } </ div >
339
339
</ React . Fragment >
340
340
} >
341
- < ThemeDiv className = { `analysis__run analysis__run--${ ar . status . toLowerCase ( ) || 'unknown' } ` } />
341
+ < ThemeDiv className = { `analysis__run analysis__run--${ ar . status ? ar . status . toLowerCase ( ) : 'unknown' } ` } />
342
342
</ Tooltip >
343
343
) ) }
344
344
</ div >
You can’t perform that action at this time.
0 commit comments