mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 12:53:44 +08:00
fix: Set REJECT-DROP
policy the same text color as REJECT
(#622)
This commit is contained in:
parent
c11b8519f1
commit
9b79da2cdf
@ -20,7 +20,7 @@ interface Props {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const parseColor = (text: string) => {
|
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";
|
if (text === "DIRECT") return "text.primary";
|
||||||
|
|
||||||
let sum = 0;
|
let sum = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user