From 3a59791118db3d394b17ddd36ba5a7319babfeb4 Mon Sep 17 00:00:00 2001 From: Daniel Lando Date: Sun, 11 Apr 2021 11:42:34 +0200 Subject: [PATCH] fix(ui): assume controller always forwards in mesh graph Fixes #1034 Fixes #739 --- src/components/custom/ZwaveGraph.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/custom/ZwaveGraph.vue b/src/components/custom/ZwaveGraph.vue index b559a90045..6247667bd2 100644 --- a/src/components/custom/ZwaveGraph.vue +++ b/src/components/custom/ZwaveGraph.vue @@ -778,9 +778,8 @@ export default { '\n Neighbors: ' + node.neighbors, forwards: - node.ready && - !node.failed && - (node.isListening || node.isRouting || node.isControllerNode) // leave the isController check here + node.isControllerNode || + (node.ready && !node.failed && (node.isListening || node.isRouting)) } if (id === hubNode) {