🐛 rétabli l'affichage des règles reliées dans la documentation

pull/1152/head
Johan Girod 2020-10-08 10:34:44 +02:00
parent 3aec51fd9c
commit 5876519d75
1 changed files with 1 additions and 2 deletions

View File

@ -121,8 +121,7 @@ function AssociatedRules<Name extends string>({
ruleDottedName.split(' . ').length ===
dottedName.split(' . ').length + 1
)
.filter(rule => !ruleWithDedicatedDocumentationPage(rule))
console.log(namespaceRules)
.filter(rule => ruleWithDedicatedDocumentationPage(rule))
if (!namespaceRules.length) {
return null
}