New perf dashboard shows null as the aggregator name if no aggregation is done
[WebKit-https.git] / Websites / perf.webkit.org / public / v2 / manifest.js
index a3d0b07..c04d180 100755 (executable)
@@ -20,7 +20,7 @@ App.Metric = App.NameLabelModel.extend({
     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 ()
     {