Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(330)

Unified Diff: tracing/tracing/ui/value_set_view.html

Issue 1964663003: [telemetry] Add Html2OutputFormatter for generating results2.html (Closed) Base URL: https://github.com/catapult-project/catapult.git@master
Patch Set: comments Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tracing/tracing/results2_template.html ('k') | tracing/tracing/value/numeric.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/ui/value_set_view.html
diff --git a/tracing/tracing/ui/value_set_view.html b/tracing/tracing/ui/value_set_view.html
index d39ee764ae21f9375f6c1972cb9e6a14b9d6061a..d1d42aa45b2984b2646825e7deb90b2d7a71bfa7 100644
--- a/tracing/tracing/ui/value_set_view.html
+++ b/tracing/tracing/ui/value_set_view.html
@@ -94,9 +94,9 @@ tr.exportTo('tr.ui', function() {
if (value.numeric) {
row.unit = value.numeric.unit;
- if (value.numeric.value) {
+ if (value.numeric.value !== undefined) {
row.value = value.numeric.value;
- } else if (value.numeric.average) {
+ } else if (value.numeric.average !== undefined) {
row.value = value.numeric.average;
}
}
« no previous file with comments | « tracing/tracing/results2_template.html ('k') | tracing/tracing/value/numeric.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698