This commit is contained in:
Timothy Jaeryang Baek
2026-08-10 22:57:21 -06:00
parent 89922cc9d5
commit 629cdcb530
@@ -162,7 +162,9 @@
// Reload when the period, group, or custom range changes.
// In custom mode, wait until both dates are set to avoid a half-specified query.
$: if (selectedPeriod === 'custom' ? customStart && customEnd : selectedPeriod) {
$: if (selectedPeriod === 'custom' && !(customStart && customEnd)) {
loading = false;
} else if (selectedPeriod) {
// reference customStart/customEnd so this block reruns when they change
customStart;
customEnd;