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 2cfea97  fix: render multiple metrics (#463)
2cfea97 is described below

commit 2cfea97ec487fb23682868bdf67f70b6ace6d933
Author: Qiuxia Fan <[email protected]>
AuthorDate: Thu Apr 8 23:16:33 2021 +0800

    fix: render multiple metrics (#463)
---
 src/views/components/dashboard/dashboard-item.vue | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/views/components/dashboard/dashboard-item.vue 
b/src/views/components/dashboard/dashboard-item.vue
index c179f90..152df36 100644
--- a/src/views/components/dashboard/dashboard-item.vue
+++ b/src/views/components/dashboard/dashboard-item.vue
@@ -217,12 +217,9 @@ limitations under the License. -->
           this.chartSource[params.metricName] = values.map((item: { value: 
number }) =>
             this.aggregationValue({ data: item.value, type: aggregation, 
aggregationNum: Number(aggregationNum) }),
           );
-          return;
         }
         if (queryMetricType === QueryTypes.SortMetrics || queryMetricType === 
QueryTypes.ReadSampledRecords) {
           this.handleChartSlowData(resVal, aggregation, aggregationNum);
-
-          return;
         }
         if (queryMetricType === QueryTypes.READHEATMAP) {
           const nodes = [] as any;

Reply via email to