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/10/02 03:20:39 UTC

[skywalking-rocketbot-ui] branch master updated: fix: set current service for topology (#359)

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 8ab93a2  fix: set current service for topology (#359)
8ab93a2 is described below

commit 8ab93a276c53a15c17b0cfa503f19e99e4154ab4
Author: Qiuxia Fan <fi...@outlook.com>
AuthorDate: Fri Oct 2 11:20:30 2020 +0800

    fix: set current service for topology (#359)
---
 src/views/containers/topology/instance/index.vue | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/views/containers/topology/instance/index.vue b/src/views/containers/topology/instance/index.vue
index c45b79a..1faff42 100644
--- a/src/views/containers/topology/instance/index.vue
+++ b/src/views/containers/topology/instance/index.vue
@@ -93,6 +93,7 @@ limitations under the License. -->
     @Action('GET_SERVICE_INSTANCES') private GET_SERVICE_INSTANCES: any;
     @Action('MIXHANDLE_CHANGE_GROUP_WITH_CURRENT') private MIXHANDLE_CHANGE_GROUP_WITH_CURRENT: any;
     @Mutation('SET_EDIT') private SET_EDIT: any;
+    @Mutation('SET_CURRENT_SERVICE') private SET_CURRENT_SERVICE: any;
     @Prop() private current!: { key: number | string; label: number | string };
     @Prop() private instanceComps: any;
     @Prop() private updateObjects!: string;
@@ -102,6 +103,7 @@ limitations under the License. -->
     }
 
     private beforeMount() {
+      this.SET_CURRENT_SERVICE(this.current);
       this.MIXHANDLE_CHANGE_GROUP_WITH_CURRENT({ index: 0, current: 3 });
       this.GET_SERVICE_INSTANCES({ duration: this.durationTime, serviceId: this.current.key }).then(() => {
         this.selectInstance(this.stateDashboardOption.instances[0]);