fix nodeInfo null error

This commit is contained in:
Christoph Kluge 2025-03-03 16:53:19 +01:00
parent 3ab8973895
commit 419bc2747b

View File

@ -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) {