Skip to content

Commit

Permalink
fix: same text color for REJECT-DROP policy as REJECT (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
xkww3n authored Jan 5, 2024
1 parent 42df02e commit c78dff4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/rule/rule-item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ interface Props {
}

const parseColor = (text: string) => {
if (text === "REJECT") return "error.main";
if (text === "REJECT" || text === "REJECT-DROP") return "error.main";
if (text === "DIRECT") return "text.primary";

let sum = 0;
Expand Down

0 comments on commit c78dff4

Please sign in to comment.