diff --git a/web/src/RuleEditPage.js b/web/src/RuleEditPage.js index 765c641..1447428 100644 --- a/web/src/RuleEditPage.js +++ b/web/src/RuleEditPage.js @@ -157,7 +157,7 @@ class RuleEditPage extends React.Component { ) } { - this.state.rule.action === "Block" && this.state.rule.type !== "WAF" && ( + (this.state.rule.action === "Block" && this.state.rule.type !== "WAF") && ( {i18next.t("rule:Status Code")}: @@ -172,7 +172,7 @@ class RuleEditPage extends React.Component { ) } { - this.state.rule.action === "Block" && this.state.rule.type !== "WAF" && ( + (this.state.rule.action === "Block" || this.state.rule.type === "WAF") && ( {i18next.t("rule:Reason")}: