update type

This commit is contained in:
Qiuxia Fan 2022-03-23 18:28:36 +08:00
parent 2e24925301
commit 90ca98aedd

View File

@ -149,7 +149,10 @@ async function setMetricType() {
return d;
}
} else if (graph.type === "Table") {
if (d.type === MetricsType.LABELED_VALUE) {
if (
d.type === MetricsType.LABELED_VALUE ||
d.type === MetricsType.REGULAR_VALUE
) {
return d;
}
} else {