From bd2aad7dceeae19461f387f79fd8f8955c260daa Mon Sep 17 00:00:00 2001 From: Drikus Roor Date: Mon, 14 Oct 2024 15:25:38 -0300 Subject: [PATCH] fix: Update animal popup to use count instead of amount --- src/animals/templates/animals-statistics.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/animals/templates/animals-statistics.html b/src/animals/templates/animals-statistics.html index cf2cf78..e67d81c 100644 --- a/src/animals/templates/animals-statistics.html +++ b/src/animals/templates/animals-statistics.html @@ -239,7 +239,7 @@

Average Animals per Day

if (!animal.animal_type__image__file) { L.marker([lat, lng]).addTo(map) - .bindPopup(`${animal.amount} ${animal.animal_type__name}(s)`); + .bindPopup(`${animal.count} ${animal.animal_type__name}(s)`); return; } @@ -251,7 +251,7 @@

Average Animals per Day

}); L.marker([lat, lng], { icon }).addTo(map) - .bindPopup(`${animal.amount} ${animal.animal_type__name}(s)`) + .bindPopup(`${animal.count} ${animal.animal_type__name}(s)`) } });