Skip to content

Commit

Permalink
Fix flamegraph regression (elastic#178511)
Browse files Browse the repository at this point in the history
Fix a regression introduced in
elastic#178481
  • Loading branch information
rockdaboot authored Mar 12, 2024
1 parent a84b420 commit b91962e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ export function FlameGraph({
primaryFlamegraph.TotalAnnualCostsUSDItems[valueIndex]
}
baselineScaleFactor={baseline}
comparisonAnnualCO2KgsInclusive={comparisonNode.TotalAnnualCO2Kgs}
comparisonAnnualCO2KgsInclusive={comparisonNode?.TotalAnnualCO2Kgs}
comparisonAnnualCostsUSDInclusive={comparisonNode?.TotalAnnualCostUSD}
comparisonCountExclusive={comparisonNode?.CountExclusive}
comparisonCountInclusive={comparisonNode?.CountInclusive}
Expand Down

0 comments on commit b91962e

Please sign in to comment.