obsidian-iconize icon indicating copy to clipboard operation
obsidian-iconize copied to clipboard

Custom rule set to Folder type applies to both folder and any nested files

Open PragmaticallyWhimsical opened this issue 1 year ago • 0 comments

Describe the bug Create a custom rule that targets a folder. Any files under that folder will also receive the icon.

To Reproduce Steps to reproduce the behavior:

  1. Create a folder, with a file inside of it
  2. Create a custom rule that targets the folder
  3. Ensure the custom rule is set to the Folder Type (to trigger this behavior, you need to cycle through the types).
  4. The folder will receive the icon as intended, but the nested files will also receive the icon (not intended).
  5. A restart resolves this (until you try changing the type again), but would rather not have to restart my vault every time a new icon is added for a folder.

Expected behavior If I create a custom rule targeting folders, it should only apply to folders. Not every file nested beneath the folder as well.

Screenshots Unintended Behavior: image

Custom Rule: image

Additional context This used to work in a previous version as in my main vault I use version 1.2.1 as later versions break other things for me still ( some of which I see are being fixed/worked on :) ).

PragmaticallyWhimsical avatar Aug 02 '22 14:08 PragmaticallyWhimsical