You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by hu...@apache.org on 2019/08/07 09:05:35 UTC

svn commit: r1864606 - in /comdev/reporter.apache.org/trunk/site/wizard/js: source/statistics_generator.js wizard.js

Author: humbedooh
Date: Wed Aug  7 09:05:35 2019
New Revision: 1864606

URL: http://svn.apache.org/viewvc?rev=1864606&view=rev
Log:
only show if worth showing

Modified:
    comdev/reporter.apache.org/trunk/site/wizard/js/source/statistics_generator.js
    comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js

Modified: comdev/reporter.apache.org/trunk/site/wizard/js/source/statistics_generator.js
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/wizard/js/source/statistics_generator.js?rev=1864606&r1=1864605&r2=1864606&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/js/source/statistics_generator.js (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/js/source/statistics_generator.js Wed Aug  7 09:05:35 2019
@@ -308,7 +308,7 @@ function statistics_health(data) {
             xhtml.inject(new HTML('br'))
         } else if (hasdevlist) {
             kibble_mailstats(xhtml, data.kibble.timeseries.devlist, color);
-        } else if (hasuserlist) {
+        } else if (hasuserlist && txt.length > 0) {
             kibble_mailstats(xhtml, data.kibble.timeseries.userlist, color);
         }
 

Modified: comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js?rev=1864606&r1=1864605&r2=1864606&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js Wed Aug  7 09:05:35 2019
@@ -2407,7 +2407,7 @@ function statistics_health(data) {
             xhtml.inject(new HTML('br'))
         } else if (hasdevlist) {
             kibble_mailstats(xhtml, data.kibble.timeseries.devlist, color);
-        } else if (hasuserlist) {
+        } else if (hasuserlist && txt.length > 0) {
             kibble_mailstats(xhtml, data.kibble.timeseries.userlist, color);
         }