File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/javascript/components Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ const PfAggregateStatusCard = ({
3131 </ h2 >
3232 < div className = "card-pf-body" >
3333 < div className = "card-pf-aggregate-status-notifications" >
34- { ( data . notifications && data . notifications [ 0 ] . dataAvailable === false ) ? (
34+ { ( data . notifications && data . notifications [ 0 ] && data . notifications [ 0 ] . dataAvailable === false ) ? (
3535 < div className = "empty-chart-contents" >
3636 < span className = "pficon pficon-info" />
3737 { ' ' }
@@ -56,7 +56,7 @@ const PfAggregateStatusCard = ({
5656 </ span >
5757 ) ) ) }
5858
59- { ( data . notifications && data . notifications [ 0 ] . iconClass ) && (
59+ { ( data . notifications && data . notifications [ 0 ] && data . notifications [ 0 ] . iconClass ) && (
6060 < >
6161 < span className = { data . notifications [ 0 ] . iconClass } />
6262
You can’t perform that action at this time.
0 commit comments