mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-03-04 14:05:56 +01:00
fix nodeInfo null error
This commit is contained in:
parent
3ab8973895
commit
419bc2747b
@ -105,7 +105,7 @@
|
|||||||
.filter((r) => r.hostname === nodeData.host)
|
.filter((r) => r.hostname === nodeData.host)
|
||||||
.map((r) => r.accelerators)
|
.map((r) => r.accelerators)
|
||||||
)
|
)
|
||||||
)).flat(2)
|
)).flat(2).filter(a => a) // Last filter(): Exclude Null, Undefined and empty Str
|
||||||
|
|
||||||
extendedLegendData = {}
|
extendedLegendData = {}
|
||||||
for (const accId of accSet) {
|
for (const accId of accSet) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user