diff options
Diffstat (limited to 'interface')
-rw-r--r-- | interface/js/app/stats.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/interface/js/app/stats.js b/interface/js/app/stats.js index 56f3e7101..65e6f2772 100644 --- a/interface/js/app/stats.js +++ b/interface/js/app/stats.js @@ -67,9 +67,8 @@ define(["jquery", "d3pie", "humanize"], $.each(data, function (i, item) { var widget = ""; - if (i === "auth") {} - else if (i === "error") {} - else if (i === "version") { + if (i === "auth" || i === "error") { return true; } // Skip to the next iteration + if (i === "version") { widget = "<div class=\"left\"><strong>" + item + "</strong>" + i + "</div>"; $(widget).appendTo(widgets); |