You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2020/08/14 09:19:26 UTC

[skywalking-rocketbot-ui] branch master updated: fix the problem about click on a not real node in the topology view (#340)

This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-rocketbot-ui.git


The following commit(s) were added to refs/heads/master by this push:
     new 0ba9895  fix the problem about click on a not real node in the topology  view (#340)
0ba9895 is described below

commit 0ba98954cc5cb10fbb2229c5f2eeed281fde9cc6
Author: whfjam <45...@users.noreply.github.com>
AuthorDate: Fri Aug 14 17:19:16 2020 +0800

    fix the problem about click on a not real node in the topology  view (#340)
---
 src/views/containers/topology/topology.vue | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/views/containers/topology/topology.vue b/src/views/containers/topology/topology.vue
index 1da0430..189a306 100644
--- a/src/views/containers/topology/topology.vue
+++ b/src/views/containers/topology/topology.vue
@@ -126,7 +126,9 @@ limitations under the License. -->
     }
     private setCurrent(d: any): void {
       this.current = d;
-      this.SET_CURRENT_SERVICE(d);
+      if (d.isReal) {
+        this.SET_CURRENT_SERVICE(d);
+      }
     }
     private beforeDestroy() {
       this.CLEAR_TOPO_INFO();