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

qiuxiafan pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-booster-ui.git


The following commit(s) were added to refs/heads/main by this push:
     new 30a9cb1c fix: init minTime to Infinity (#294)
30a9cb1c is described below

commit 30a9cb1c87d4851e8ff92115c9a90c4b5cef2269
Author: pw151294 <[email protected]>
AuthorDate: Sat Jul 1 14:39:00 2023 +0800

    fix: init minTime to Infinity (#294)
---
 src/views/dashboard/related/trace/components/Statistics.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/views/dashboard/related/trace/components/Statistics.vue 
b/src/views/dashboard/related/trace/components/Statistics.vue
index 00468abe..bcb60c5c 100644
--- a/src/views/dashboard/related/trace/components/Statistics.vue
+++ b/src/views/dashboard/related/trace/components/Statistics.vue
@@ -67,7 +67,7 @@ limitations under the License. -->
 
   function getSpanGroupData(groupspans: Span[], groupRef: StatisticsGroupRef): 
StatisticsSpan {
     let maxTime = 0;
-    let minTime = 0;
+    let minTime = Infinity;
     let sumTime = 0;
     const count = groupspans.length;
     groupspans.forEach((groupspan: Span) => {

Reply via email to