Skip to content

Commit

Permalink
If the data is not valid, then we dont display anything.
Browse files Browse the repository at this point in the history
  • Loading branch information
amatilda committed May 17, 2024
1 parent 8a365a3 commit 6ebf1b3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)}) {
${
Expand Down

0 comments on commit 6ebf1b3

Please sign in to comment.