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) {