https://bugs.webkit.org/show_bug.cgi?id=141256
Reviewed by Chris Dumez.
Don't show the aggregator name if there isn't one.
* public/v2/manifest.js:
(App.Metric.label):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@179647
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2015-02-04 Ryosuke Niwa <rniwa@webkit.org>
+
+ New perf dashboard shows null as the aggregator name if no aggregation is done
+ https://bugs.webkit.org/show_bug.cgi?id=141256
+
+ Reviewed by Chris Dumez.
+
+ Don't show the aggregator name if there isn't one.
+
+ * public/v2/manifest.js:
+ (App.Metric.label):
+
2015-02-04 Ryosuke Niwa <rniwa@webkit.org>
Unreviewed build fix after r179611.
aggregator: DS.attr('string'),
label: function ()
{
- return this.get('name') + ' : ' + this.get('aggregator');
+ return this.get('name') + (this.get('aggregator') ? ' : ' + this.get('aggregator') : '');
}.property('name', 'aggregator'),
path: function ()
{