Skip to content

Commit

Permalink
Merge pull request #78627 from cockroachdb/blathers/backport-release-…
Browse files Browse the repository at this point in the history
…21.2-78292

release-21.2: [CRDB-3303] ui: handle latency not defined on network page
  • Loading branch information
Santamaura authored Mar 28, 2022
2 parents 48866a2 + bac6474 commit a879d3e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ const renderMultipleHeaders = (
const row: any[] = [];
displayIdentities.forEach(identityB => {
const a = nodesSummary.nodeStatusByID[identityA.nodeID].activity;
const nano = FixLong(a[identityB.nodeID].latency);
const nano = FixLong(a[identityB.nodeID]?.latency || 0);
if (identityA.nodeID === identityB.nodeID) {
row.push({ latency: 0, identityB });
} else if (
Expand Down

0 comments on commit a879d3e

Please sign in to comment.