fix auth issues
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user