diff --git a/site/source/pages/Documentation.tsx b/site/source/pages/Documentation.tsx index 6f9ce4128..54c12fb8e 100644 --- a/site/source/pages/Documentation.tsx +++ b/site/source/pages/Documentation.tsx @@ -55,11 +55,11 @@ export default function MonEntrepriseRulePage() { - - - match.params.name && ( + + match.params.name && ( + - ) - } - /> - + + ) + } + /> ) @@ -223,6 +223,9 @@ function componentCSS(rules: any, props: any) { return x } const result = x(props) + if ((result ?? false) === false) { + return '' + } if (typeof result === 'string') { return result }