web/apps/hello-infrastructure/js/hello-infrastructure.js
function updateDisplayCount() {
  let visibleCount = 0;
  let totalCount = Object.keys(receivers).length;
  let trs = Array.from(tbody.getElementsByTagName('tr'));

  trs.forEach(function(tr) {
    if(tr.style.display === '') {
      visibleCount++;
    }
  });
  displayCount.value = visibleCount + ' of ' + totalCount;
}
function updateDisplayCount() {
  let visibleCount = 0;
  let totalCount = Object.keys(receivers).length;
  let trs = Array.from(tbody.getElementsByTagName('tr'));

  trs.forEach(function(tr) {
    if(tr.style.display === '') {
      visibleCount++;
    }
  });
  displayCount.value = visibleCount + ' of ' + totalCount;
}
function updateDisplayCount ( ) { let visibleCount = 0 ; let totalCount = Object . keys ( receivers ) . length ; let trs = Array . from ( tbody . getElementsByTagName ( 'tr' ) ) ; trs . forEach ( function ( tr ) { if ( tr . style . display === '' ) { visibleCount ++ ; } } ) ; displayCount . value = visibleCount + ' of ' + totalCount ; }
Update display count
Update display count