process/init: fix selectInsNSIB options

This commit is contained in:
vchikalkin 2022-07-12 16:20:18 +03:00
parent fae37e87f7
commit 5dacb4d526

View File

@ -224,7 +224,7 @@ export async function getCRMData(apolloClient: ApolloClient<NormalizedCache>, us
label: `${x?.label} (${x?.evo_graph_price} руб.)`,
}));
const selectNSIB = addproductTypes.evo_addproduct_types?.filter(
const selectInsNSIB = addproductTypes.evo_addproduct_types?.filter(
(x) => x?.evo_product_type === 100_000_002
);
@ -242,7 +242,7 @@ export async function getCRMData(apolloClient: ApolloClient<NormalizedCache>, us
selectTechnicalCard,
selectTelematic,
selectTracker,
selectNSIB,
selectInsNSIB,
},
tables: {
insurance: insuranceData,