From 098a832a759d93057c62549adfef120dc739c9ee Mon Sep 17 00:00:00 2001 From: Kacper Kula Date: Fri, 20 Dec 2024 14:00:54 +0000 Subject: [PATCH] fix: fixing completed flag in tasks being reversed --- CHANGELOG.md | 3 +++ manifest.json | 2 +- package.json | 2 +- src/fileSyncTable/tasksTable.ts | 2 +- versions.json | 3 ++- 5 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c824c0..9e9965e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +# 0.12.3 +- fix: Fixing completed flag in tasks being reversed + # 0.12.2 fix: Fixed issue with CTE table names being incorrectly processed causing error diff --git a/manifest.json b/manifest.json index 149ae56..f5537f7 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "sqlseal", "name": "SQLSeal", - "version": "0.12.2", + "version": "0.12.3", "minAppVersion": "0.15.0", "description": "Use SQL in your notes to query your vault files and CSV content.", "author": "hypersphere", diff --git a/package.json b/package.json index 3d62cf0..eb24d37 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sqlseal", - "version": "0.12.2", + "version": "0.12.3", "description": "A plugin for Obsidian that allows you to run SQL queries on your notes.", "main": "main.js", "scripts": { diff --git a/src/fileSyncTable/tasksTable.ts b/src/fileSyncTable/tasksTable.ts index 551c603..0f1a6e5 100644 --- a/src/fileSyncTable/tasksTable.ts +++ b/src/fileSyncTable/tasksTable.ts @@ -29,7 +29,7 @@ export class TasksFileSyncTable extends AFileSyncTable { // Check if it's a task if (!listItem.task) return; - const status = listItem.task === ' ' + const status = listItem.task !== ' ' // Get the full line content const lineContent = lines[listItem.position.start.line]; diff --git a/versions.json b/versions.json index 8b367d3..9e2f7cb 100644 --- a/versions.json +++ b/versions.json @@ -16,5 +16,6 @@ "0.11.0": "0.15.0", "0.12.0": "0.15.0", "0.12.1": "0.15.0", - "0.12.2": "0.15.0" + "0.12.2": "0.15.0", + "0.12.3": "0.15.0" } \ No newline at end of file