mirror of
https://github.com/fosrl/pangolin.git
synced 2026-08-31 00:11:27 +02:00
🚧 add country is not rule
This commit is contained in:
@@ -1321,7 +1321,7 @@ function getRuleAction(input: string) {
|
||||
|
||||
function getRuleValue(match: string, value: string) {
|
||||
// if the match is a country, uppercase the value
|
||||
if (match == "COUNTRY") {
|
||||
if (match === "COUNTRY" || match === "COUNTRY_IS_NOT") {
|
||||
return value.toUpperCase();
|
||||
}
|
||||
return value;
|
||||
|
||||
Reference in New Issue
Block a user