mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-07-22 12:41:39 +02:00
fix nodeInfo null error
This commit is contained in:
@@ -105,7 +105,7 @@
|
||||
.filter((r) => r.hostname === nodeData.host)
|
||||
.map((r) => r.accelerators)
|
||||
)
|
||||
)).flat(2)
|
||||
)).flat(2).filter(a => a) // Last filter(): Exclude Null, Undefined and empty Str
|
||||
|
||||
extendedLegendData = {}
|
||||
for (const accId of accSet) {
|
||||
|
Reference in New Issue
Block a user