foundryvtt / world-anvil

A module to integrate World Anvil with Foundry Virtual Tabletop.
MIT License
12 stars 7 forks source link

Adding Category.hasChildrenWithContent - [merged] #47

Closed cswendrowski closed 2 years ago

cswendrowski commented 2 years ago

In GitLab by @adrien.schiehle on Nov 8, 2021, 11:47

_Merges categoryhasVisibleChildren -> categories

At first, I tried to just add a category.hasVisibleChildren by checking if it has some articles but that wasn't enough :

If at least one add some data, every subcategory were displayed.

I chose to add those two attributes then

cswendrowski commented 2 years ago

Sorry for the slow review, looks good to me!

cswendrowski commented 2 years ago

approved this merge request