Skip to content

Commit

Permalink
PMM-13254 Fix latency chart check
Browse files Browse the repository at this point in the history
  • Loading branch information
matejkubinec committed Sep 20, 2024
1 parent 191d9a7 commit 7e1cf9d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ const Metrics: FC<MetricsProps> = ({
? humanize.transform(item.metric.avg, item.pipeTypes.perQueryStatsPipe)
: (+item.metric.sum / +item.queryCount).toFixed(2) || '0'}
</span>
{item.isLatencyChart && <Latency {...latencyChartProps} />}
{!!item.isLatencyChart && <Latency {...latencyChartProps} />}
</div>
);
};
Expand Down

0 comments on commit 7e1cf9d

Please sign in to comment.