Skip to content

Commit c6dcae1

Browse files
committed
fix: cause table renderred incorreclty
1 parent a861210 commit c6dcae1

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "obsidian-task-progress-bar",
33
"name": "Task Progress Bar",
4-
"version": "3.0.0",
4+
"version": "3.0.1",
55
"minAppVersion": "0.15.2",
66
"description": "A task progress bar plugin for tasks in Obsidian.",
77
"author": "Boninall",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "obsidian-task-progress-bar",
3-
"version": "3.0.0",
3+
"version": "3.0.1",
44
"description": "A task progress bar plugin for tasks in Obsidian.",
55
"main": "main.js",
66
"scripts": {

src/readModeWidget.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ export function updateProgressBarInElement({
143143
// Handle heading elements directly
144144
if (
145145
plugin.settings.enableHeadingProgressBar &&
146+
element.children[0] &&
146147
element.children[0].matches("h1, h2, h3, h4, h5, h6")
147148
) {
148149
// Skip if this heading already has a progress bar

versions.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@
1414
"1.6.0": "0.15.2",
1515
"1.6.1": "0.15.2",
1616
"2.0.0": "0.15.2",
17-
"3.0.0": "0.15.2"
17+
"3.0.0": "0.15.2",
18+
"3.0.1": "0.15.2"
1819
}

0 commit comments

Comments
 (0)