fix: ensure the folders are correctly marked at startup #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When I open Obsidian, the folders aren’t marked as folders and, to get the right behavior, I had to switch of settings (e.g., update the strategy to another value and come back to my settings). At this point it worked as expected…
After some digging in the code, I found this workaround… I’m not sure it’s the good one… but at least it works.
As I’m absolutely not a web developper, I don’t really know how to package properly a new version of the plugins. So… this PR is my clumsy contribution to the plugin… I can’t contribute to the original owner because I use your fork…
If it can help someone…