From 775ec049c2e4cc8c0c5732ea576074175128f240 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20LeBlanc?= Date: Tue, 13 Aug 2024 21:47:53 -0400 Subject: [PATCH] Fix for !entry.is_synced || true --- src/stores/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stores/index.ts b/src/stores/index.ts index 3fde8c8..cd45d78 100644 --- a/src/stores/index.ts +++ b/src/stores/index.ts @@ -306,7 +306,7 @@ export const useIndexStore = defineStore('store', () => { } async function toggleEntrySynced(entry: Entry) { await updateDoc(doc(db, 'entries', entry.id), { - is_synced: !entry.is_synced || true, + is_synced: !entry.is_synced, }); } async function addProject(option: Project) {