Skip to content

Commit c4fb057

Browse files
committed
[crashes] show percentage for platforms
1 parent 831000e commit c4fb057

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/crashes/frontend/public/javascripts/countly.models.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@
636636
}
637637

638638
for(var i = 0; i < maxItems; i++){
639-
res.push({"name":data[i][0],"percent":(data[i][1]/total)*100});
639+
res.push({"name":Math.round((data[i][1]/total)*100)+"% "+data[i][0],"percent":(data[i][1]/total)*100});
640640
}
641641

642642
return res;

0 commit comments

Comments
 (0)