MCPcopy Create free account
hub / github.com/TQZHR/grok2api / syncSelectAllState

Function syncSelectAllState

app/static/cache/cache.js:579–586  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

577}
578
579function syncSelectAllState() {
580 const selectAll = ui.selectAll;
581 if (!selectAll) return;
582 const total = accountMap.size;
583 const selected = selectedTokens.size;
584 selectAll.checked = total > 0 && selected === total;
585 selectAll.indeterminate = selected > 0 && selected < total;
586}
587
588function updateSelectedCount() {
589 const el = ui.selectedCount;

Callers 2

renderAccountTableFunction · 0.85
toggleSelectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected