second effect

This commit is contained in:
Владислав Чикалкин 2020-09-23 19:18:33 +03:00
parent b223c05b12
commit 3d9d6c4abd
2 changed files with 3 additions and 6 deletions

View File

@ -49,11 +49,8 @@ const reactionEffects: IReactionEffect[] = [
calculationStore => ({ calculationStore => ({
expression: () => { expression: () => {
const { options, filters } = calculationStore; const { options } = calculationStore;
if (filters.selectQuote && options.selectQuote) { return options.selectQuote;
const filteredQuotes = filters.selectQuote(options.selectQuote);
return filteredQuotes;
}
}, },
effect: quotes => { effect: quotes => {
if (quotes.length > 0) { if (quotes.length > 0) {

View File

@ -162,7 +162,7 @@ const entityFakeData: {
{ {
name: '6789_ООО "Некромант"', name: '6789_ООО "Некромант"',
quoteid: QUOTE_2_ID, quoteid: QUOTE_2_ID,
evo_leadid: LEAD_2_ID, // evo_leadid: LEAD_2_ID,
}, },
], ],
evo_gps_brand: [ evo_gps_brand: [