skywalking-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wush...@apache.org
Subject [skywalking-rocketbot-ui] branch master updated: Fix: Topology bug (#292)
Date Thu, 07 May 2020 06:59:13 GMT
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 5ddfb9f  Fix: Topology bug (#292)
5ddfb9f is described below

commit 5ddfb9f689005e2e23e098cf49cad3aca15ce55e
Author: Allen Wang <Allen.Wang.123@outlook.com>
AuthorDate: Thu May 7 14:59:03 2020 +0800

    Fix: Topology bug (#292)
    
    Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
---
 src/views/components/topology/topo-services.vue | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/src/views/components/topology/topo-services.vue b/src/views/components/topology/topo-services.vue
index f51274c..db4aa75 100644
--- a/src/views/components/topology/topo-services.vue
+++ b/src/views/components/topology/topo-services.vue
@@ -71,6 +71,16 @@ limitations under the License. -->
 
     private created() {
       this.fetchData();
+      const groups = localStorage.getItem('topology-groups');
+      if (groups) {
+        const jsonGroup = JSON.parse(groups);
+        if (!jsonGroup.length) {
+          this.GET_TOPO({
+            serviceId: 0,
+            duration: this.durationTime,
+          });
+        }
+      }
     }
   }
 </script>


Mime
View raw message