fix auth issues

This commit is contained in:
JCEEE
2026-09-16 21:07:21 +01:00
parent 812f6a4f88
commit 9566506d30
4 changed files with 85 additions and 3 deletions
@@ -847,6 +847,10 @@
async function toggle(chore: AssignedChore) {
if (accessDisabled) return;
if (!pbToken) {
showToast('Logged out — please log in again to update chores.');
return;
}
if (chore.isTodo && isTodoExpired(chore)) return;
if (togglingIds.has(chore.id)) return;
togglingIds = new Set(togglingIds).add(chore.id);