turulix / obsidian-folder-index

GNU General Public License v3.0
107 stars 8 forks source link

Cant get it to work #24

Closed zdaar closed 1 year ago

zdaar commented 1 year ago

Obsian 1.1.16

Empty vault with a Test folder 2 notes, Note 1 and Note 2

Index note gets created with a folder-index-content codeblock, but no index is generated

errors in the console :

plugin:obsidian-folder-index:140 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'sort') at eval (plugin:obsidian-folder-index:140:29) at Array.forEach () at IndexContentRenderer.buildMarkdownText (plugin:obsidian-folder-index:134:20) at IndexContentRenderer.eval (plugin:obsidian-folder-index:126:66) at Generator.next () at eval (plugin:obsidian-folder-index:46:61) at new Promise () at __async (plugin:obsidian-folder-index:30:10) at IndexContentRenderer.render (plugin:obsidian-folder-index:122:12) at IndexContentRenderer.eval (plugin:obsidian-folder-index:109:18)

image

Not sure if I need to write filter syntax or what else in the codeblock image

turulix commented 1 year ago

Thanks for the report, this should be fixed as of 1.0.12

qazero commented 1 year ago

Hmm it was working for me previously now but after updating to 1.0.12 I am getting the same error as zdaar.

Also, looks like there is a typo in the release of your new manifest.json which is mentioning 1.0.11 instead of 1.0.12

turulix commented 1 year ago

Yea, just noticed for some reason it didn't tag the correct commit and it released the old version of the code with a new name xD It should be fixed now, thanks for the mention!