MCPcopy Create free account
hub / github.com/error311/FileRise / updateCounts

Function updateCounts

public/js/sharedFolderView.js:859–867  ·  view source on GitHub ↗
(filteredCount)

Source from the content-addressed store, hash-verified

857 }
858
859 function updateCounts(filteredCount) {
860 if (!countEl) return;
861 const total = entries.length;
862 if (filteredCount !== total) {
863 countEl.textContent = filteredCount + ' of ' + total + ' items';
864 } else {
865 countEl.textContent = total + ' items';
866 }
867 }
868
869 function applyFilter() {
870 const term = (searchEl && searchEl.value) ? searchEl.value.trim().toLowerCase() : '';

Callers 1

renderAllFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected