This commit is contained in:
Mateusz Gruszczyński committed 2025-09-18 21:31:54 +02:00
1 parent f2e99821f7
commit 577ac3f463
1 file changed
+6 -1
+6 -1
View File
@@ -74,6 +74,8 @@ document.addEventListener("DOMContentLoaded", function () {
this.textContent = "Pokaż całościowo";
window.setCategorySplit(true);
}
// odznaczenie wizualne zakresu
document.querySelectorAll("#chartTab .range-btn").forEach(b => b.classList.remove("active"));
reloadRespectingSplit();
});
@@ -110,7 +112,10 @@ document.addEventListener("DOMContentLoaded", function () {
}
return;
}
// monthly/quarterly/halfyearly/yearly – kubełkowanie po stronie backendu
if (startDateInput) startDateInput.value = "";
if (endDateInput) endDateInput.value = "";
reloadRespectingSplit(r);
});
});