fix: Use toLocal for number #1

Manually merged
nathanwoodburn merged 2 commits from fix/numberformat into main 2026-03-30 09:45:38 +11:00
Showing only changes of commit 565beefac1 - Show all commits

View File

@@ -31,7 +31,7 @@ document.addEventListener("DOMContentLoaded", () => {
// Create a new span element to display the stats
const statsLabel = document.createElement("p");
statsLabel.classList.add("service-note");
statsLabel.textContent = `Images: ${data.images}, Videos: ${data.videos}`;
statsLabel.textContent = `Images: ${data.images.toLocaleString()}, Videos: ${data.videos}`;
// Append the stats span to the Immich link
immichLink.appendChild(statsLabel);
} else {