earlSt1 / vtt-compendium-folders

Collapsable folders in the compendium directory and folder structures inside compendiums for FoundryVTT
21 stars 18 forks source link

Hide folder for players if the folder only contains folders where all items are hidden #43

Closed Amuxix closed 3 years ago

Amuxix commented 3 years ago

So currently if all compendiums inside a folder are hidden that folder is hidden for the players, however if a folder has a subfolder, the parent folder will always be shown, even if all items inside the subfolder are hidden.

Steps to reproduce:

  1. Create folder.
  2. Create a subfolder.
  3. Add a compendium to the subfolder.
  4. Hide the newly created compendium.

Expected behaviour: The first folder should not be visible to players.

Current behaviour: The folder is shown to players

Example: GM View image

Player View image Default 5e folder should not show for player

earlSt1 commented 3 years ago

Sorry for the late response. I'm in the process of reworking the compendium directory code, and as a result this issue should be sorted in the next release.

earlSt1 commented 3 years ago

Fixed in v2.2.0