Skip to content

Commit

Permalink
fix(ui): misleading unconnected label changed to unknown
Browse files Browse the repository at this point in the history
Fixes #3562
  • Loading branch information
robertsLando committed Feb 6, 2024
1 parent 16b8c1f commit beaa1a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/custom/ZwaveGraph.vue
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ export default {
{
color: '#666666',
textColor: '#666666',
text: 'Unconnected',
text: 'Unknown',
},
],
edgesLegend: [
Expand Down Expand Up @@ -948,7 +948,7 @@ export default {
parseRouteStats(edges, controllerId, node, route, routeKind) {
if (!route) {
if (routeKind !== RouteKind.NLWR) {
// unconnected
// unknown route
node.color = this.legends[6].color
}
return
Expand Down

0 comments on commit beaa1a2

Please sign in to comment.