mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2026-03-21 07:17:30 +01:00
add nullsafes to frontend
This commit is contained in:
@@ -211,7 +211,7 @@
|
||||
const orderAndMap = (grouped, inputMetrics) =>
|
||||
inputMetrics.map((metric) => ({
|
||||
metric: metric,
|
||||
data: grouped.find((group) => group[0].name == metric),
|
||||
data: grouped.find((group) => group[0]?.name == metric),
|
||||
availability: checkMetricAvailability(
|
||||
globalMetrics,
|
||||
metric,
|
||||
|
||||
Reference in New Issue
Block a user