Skip to content

Commit a341079

Browse files
committed
Fixed tooltip legend
Signed-off-by: Maia Iyer <[email protected]>
1 parent 6f8be8e commit a341079

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

frontend/src/pages/MCADashboard/Metrics/McadMetricGraph.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ const Graph: React.FC<GraphProps> = ({
266266
return (
267267
<ChartLine
268268
key={index}
269-
name={obj.metric.pod ? obj.metric.pod : obj.metric.namespace}
269+
name={obj.metric.status ? obj.metric.status : obj.metric.namespace}
270270
data={formatSeriesValues(
271271
metricData[index].values.map(([timestamp, value]) => ({
272272
x: timestamp,

frontend/src/pages/MCADashboard/Metrics/MetricGraph.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ const Graph: React.FC<GraphProps> = ({
262262
return (
263263
<ChartLine
264264
key={index}
265-
name={obj.metric.pod ? obj.metric.pod : obj.metric.namespace}
265+
name={obj.metric.status ? obj.metric.status : obj.metric.namespace}
266266
data={formatSeriesValues(
267267
metricData[index].values.map(([timestamp, value]) => ({
268268
x: timestamp,

0 commit comments

Comments
 (0)