fix: Required check for Conversation filters (#3442)
This commit is contained in:
parent
0033a35ab8
commit
7f8204a9da
1 changed files with 4 additions and 7 deletions
|
@ -66,13 +66,10 @@ export default {
|
|||
$each: {
|
||||
values: {
|
||||
required: requiredIf(prop => {
|
||||
let userInputRequired = true;
|
||||
if (
|
||||
prop.filter_operator !== 'is_present' ||
|
||||
prop.filter_operator !== 'is_not_present'
|
||||
)
|
||||
userInputRequired = false;
|
||||
return userInputRequired;
|
||||
return !(
|
||||
prop.filter_operator === 'is_present' ||
|
||||
prop.filter_operator === 'is_not_present'
|
||||
);
|
||||
}),
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue