File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
ui-cra/src/components/Clusters Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ const ClusterDashboard = ({ clusterName }: Props) => {
86
86
< RouterTab name = "Details" path = { `${ path } /details` } >
87
87
< ClusterDashbordWrapper >
88
88
{ currentCluster ?. conditions &&
89
- currentCluster ?. conditions [ 0 ] . message ? (
89
+ currentCluster ?. conditions [ 0 ] ? .message ? (
90
90
< div style = { { paddingBottom : theme . spacing . small } } >
91
91
< KubeStatusIndicator
92
92
conditions = { currentCluster . conditions }
Original file line number Diff line number Diff line change @@ -434,7 +434,7 @@ const MCCP: FC = () => {
434
434
{
435
435
label : 'Message' ,
436
436
value : ( c : GitopsClusterEnriched ) =>
437
- ( c . conditions && c . conditions [ 0 ] . message ) || null ,
437
+ ( c . conditions && c . conditions [ 0 ] ? .message ) || null ,
438
438
sortType : SortType . string ,
439
439
sortValue : ( { conditions } ) => computeMessage ( conditions ) ,
440
440
maxWidth : 600 ,
You can’t perform that action at this time.
0 commit comments