Switch to trap counts instead of inspections on the dash

Because we can show those on a map.
This commit is contained in:
Eli Ribble 2026-01-15 19:32:42 +00:00
parent 06140a9062
commit f50f3892f2
No known key found for this signature in database
2 changed files with 7 additions and 7 deletions

View file

@ -249,11 +249,11 @@ body {
<div class="metric-icon bg-success bg-opacity-10 text-success">
<i class="fas fa-clipboard-check"></i>
</div>
<h5 class="card-title">Inspections</h5>
<h5 class="card-title">Traps</h5>
{{ if .IsSyncOngoing }}
<p class="metric-value">{{ .CountInspections | bigNumber }}...?</p>
<p class="metric-value">{{ .CountTraps | bigNumber }}...?</p>
{{ else }}
<p class="metric-value">{{ .CountInspections | bigNumber }}</p>
<p class="metric-value">{{ .CountTraps | bigNumber }}</p>
{{ end }}
<!-- <p class="card-text text-muted">
<span class="text-success">