fix: hidden family in dynamic family with a sub root
This commit is contained in:
parent
020400b1ab
commit
ba06bdf8a3
2 changed files with 6 additions and 1 deletions
|
|
@ -440,7 +440,7 @@ class Collect(_ToString):
|
||||||
path = family.path(uncalculated=True)
|
path = family.path(uncalculated=True)
|
||||||
informations = {}
|
informations = {}
|
||||||
if not self._collect(family, informations, family_type=family_type):
|
if not self._collect(family, informations, family_type=family_type):
|
||||||
return False, []
|
return False
|
||||||
if family_type == "sequence":
|
if family_type == "sequence":
|
||||||
informations.setdefault("help", []).append(
|
informations.setdefault("help", []).append(
|
||||||
_("This family contains lists of variable blocks")
|
_("This family contains lists of variable blocks")
|
||||||
|
|
|
||||||
|
|
@ -46,4 +46,9 @@ a_dynamic_{{ identifier }}:
|
||||||
- family4
|
- family4
|
||||||
|
|
||||||
a_variable: a_value # a variable
|
a_variable: a_value # a variable
|
||||||
|
|
||||||
|
an_hidden_family:
|
||||||
|
hidden: true
|
||||||
|
|
||||||
|
an_hidden_variable:
|
||||||
...
|
...
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue