Skip to content

Commit 6f8be8e

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

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
oc get route prometheus-portal -n odh -o jsonpath="{.spec.host}"
1+
oc get route prometheus-portal -n odh-dashboard -o jsonpath="{.spec.host}"

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ const MetricGraph: React.FC<MetricGraphProps> = ({
126126

127127
const legendData = metricData?.map((obj) => {
128128
return {
129-
childName: obj.metric.pod ? obj.metric.pod : obj.metric.namespace,
130-
name: obj.metric.pod ? obj.metric.pod : obj.metric.namespace,
129+
childName: obj.metric.status ? obj.metric.status : obj.metric.namespace,
130+
name: obj.metric.status ? obj.metric.status : obj.metric.namespace,
131131
};
132132
});
133133

0 commit comments

Comments
 (0)