mirror of
https://github.com/CrazyJasonwell/clash-verge-rev.git
synced 2026-10-21 18:18:43 +08:00
fix: Set REJECT-DROP policy the same text color as REJECT (#622)
This commit is contained in:
1 parent
bdd6bf9020
commit
363e28ff69
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user