Give default group names
authorJoachim Breitner <mail@joachim-breitner.de>
Fri, 27 May 2016 09:02:03 +0000 (11:02 +0200)
committerJoachim Breitner <mail@joachim-breitner.de>
Fri, 27 May 2016 09:02:03 +0000 (11:02 +0200)
site/js/gipeda.js

index 080c6e8..c74dd49 100644 (file)
@@ -433,7 +433,7 @@ dataViewPrepare = {
        return rev.benchResults[bn]
       }).filter(function (br) {return br});
       return {
-       groupName: group.groupName,
+       groupName: group.groupName || "Benchmarks",
        benchResults: benchmarks,
        groupStats: groupStats(benchmarks),
       };
@@ -461,7 +461,7 @@ dataViewPrepare = {
        return compareResults(r1,r2);
       }).filter(function (br) {return br});
       return {
-       groupName: group.groupName,
+       groupName: group.groupName || "Benchmarks",
        benchResults: benchmarks,
        groupStats: groupStats(benchmarks),
       };