Skip to content

Commit ed7297c

Browse files
author
brvphoenix
committed
Fix the incomplete totals
1 parent 94a94cf commit ed7297c

File tree

1 file changed

+1
-1
lines changed
  • luci-app-wrtbwmon/htdocs/luci-static/resources/view/wrtbwmon

1 file changed

+1
-1
lines changed

luci-app-wrtbwmon/htdocs/luci-static/resources/view/wrtbwmon/details.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ function updateTable(tb, values, placeholder, settings) {
493493
newNode = fragment.firstChild.cloneNode(true);
494494
newNode.className = 'tr table-totals';
495495

496-
newNode.children[0].textContent = _('TOTAL') + (showMore ? '' : ': ' + formData.length);
496+
newNode.children[0].textContent = _('TOTAL') + (settings.showMore ? '' : ': ' + formData.length);
497497
newNode.children[1].textContent = formData.length + ' ' + _('Clients');
498498

499499
for (var j = 0; j < tbTitle.childElementCount; j++) {

0 commit comments

Comments
 (0)