From e230e50f9dea80faaf1177cf5cfc0ab9cfabc353 Mon Sep 17 00:00:00 2001 From: Scott Aslan Date: Wed, 28 Sep 2016 16:47:35 -0400 Subject: [PATCH] [NIFI-1851] correctly display number of total process groups upon refresh. This closes #1079 --- .../src/main/webapp/js/nf/summary/nf-summary-table.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/summary/nf-summary-table.js b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/summary/nf-summary-table.js index 6ce2bcb16a..60fea88fc1 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/summary/nf-summary-table.js +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/summary/nf-summary-table.js @@ -2931,6 +2931,8 @@ nf.SummaryTable = (function () { $('#total-items').text(nf.Common.formatInteger(inputPortItems.length)); } else if ($('#output-port-summary-table').is(':visible')) { $('#total-items').text(nf.Common.formatInteger(outputPortItems.length)); + } else if ($('#process-group-summary-table').is(':visible')) { + $('#total-items').text(nf.Common.formatInteger(processGroupItems.length)); } else { $('#total-items').text(nf.Common.formatInteger(remoteProcessGroupItems.length)); }