fix prev commit
This commit is contained in:
parent
06948084b1
commit
ba55dc7b37
@ -881,9 +881,24 @@ export default [
|
||||
)({
|
||||
insuranceCompany: {
|
||||
filter: leasingWithoutKasko
|
||||
? pipe(
|
||||
insuranceOsagoDefaultFilter,
|
||||
options => options.evo_evokasko_access === true,
|
||||
? options =>
|
||||
options.filter(
|
||||
pipe(
|
||||
x => {
|
||||
if (
|
||||
x.evo_type_ins_policy &&
|
||||
x.evo_type_ins_policy.includes(100000001)
|
||||
) {
|
||||
return x;
|
||||
}
|
||||
},
|
||||
|
||||
x => {
|
||||
if (x?.evo_evokasko_access === true) {
|
||||
return x;
|
||||
}
|
||||
},
|
||||
),
|
||||
)
|
||||
: insuranceOsagoDefaultFilter,
|
||||
value: isTrailer ? null : undefined,
|
||||
|
||||
Reference in New Issue
Block a user