From 6ebf1b30fef59900e72b3e1a40552372ac5c3a01 Mon Sep 17 00:00:00 2001 From: amatilda Date: Fri, 17 May 2024 23:31:29 +0300 Subject: [PATCH] If the data is not valid, then we dont display anything. --- apps/configurator/src/app/components/footer/footer.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/configurator/src/app/components/footer/footer.component.ts b/apps/configurator/src/app/components/footer/footer.component.ts index 0724f77..5397bdd 100644 --- a/apps/configurator/src/app/components/footer/footer.component.ts +++ b/apps/configurator/src/app/components/footer/footer.component.ts @@ -67,7 +67,7 @@ ${ .join('\n')}` } - if(rule.expressions && rule.actions.filter(Boolean).length) { + if(rule.expressions && rule.actions.filter(Boolean).length && this.makeExpression(rule.expressions) !== '') { return ` if (${this.makeExpression(rule.expressions)}) { ${