when no services

This commit is contained in:
Michael Quigley 2022-08-04 11:07:57 -04:00
parent d9be87b702
commit 462e90a97f
No known key found for this signature in database
GPG Key ID: 9B60314A9DD20A62

View File

@ -46,6 +46,7 @@ function buildGraph(overview) {
draggable: true draggable: true
}); });
id++ id++
if(item.services != null) {
item.services.forEach((item) => { item.services.forEach((item) => {
out.nodes.push({ out.nodes.push({
id: '' + id, id: '' + id,
@ -61,6 +62,7 @@ function buildGraph(overview) {
}) })
id++ id++
}); });
}
}); });
return out return out
} }