Add Checks counter to summary line
This commit is contained in:
parent
d896c2d19b
commit
77e40bf4ef
@ -470,6 +470,8 @@ function buildUI(state) {
|
||||
<span class="text-gray-400">Max:</span> <span id="summary-max" class="text-red-400">--ms</span>
|
||||
<span class="text-gray-600 mx-3">|</span>
|
||||
<span class="text-gray-400">Avg:</span> <span id="summary-avg" class="text-yellow-400">--ms</span>
|
||||
<span class="text-gray-600 mx-3">|</span>
|
||||
<span class="text-gray-400">Checks:</span> <span id="summary-checks" class="text-gray-300">0</span>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
@ -571,6 +573,9 @@ function updateSummary(state) {
|
||||
el.className = "text-gray-500";
|
||||
}
|
||||
}
|
||||
|
||||
const checksEl = document.getElementById("summary-checks");
|
||||
if (checksEl) checksEl.textContent = state.tickCount;
|
||||
}
|
||||
|
||||
function updateHealthBox(state) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user