Fix not in promotion rule empty value validation (#14172)
This commit is contained in:
@@ -118,7 +118,12 @@ export function evaluateRuleValueCondition(
|
||||
: [ruleValuesToCheck]
|
||||
|
||||
if (!valuesToCheck.length) {
|
||||
return false
|
||||
switch (operator) {
|
||||
case "ne":
|
||||
return true
|
||||
default:
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
switch (operator) {
|
||||
|
||||
Reference in New Issue
Block a user