load-kp: allow quote?.evo_franchise = 0

This commit is contained in:
vchikalkin 2023-05-22 15:52:07 +03:00
parent 616313eb20
commit 06f5863e2b

View File

@ -41,7 +41,7 @@ export async function getKPData({
quote?.evo_id_elt_kasko &&
quote?.evo_id_kasko_calc &&
quote?.evo_kasko_price &&
quote?.evo_franchise
quote?.evo_franchise !== null
) {
elt.kasko = {
key: quote?.evo_kasko_accountid,