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 => ({
expression: () => {
const { options, filters } = calculationStore;
if (filters.selectQuote && options.selectQuote) {
const filteredQuotes = filters.selectQuote(options.selectQuote);
return filteredQuotes;
}
const { options } = calculationStore;
return options.selectQuote;
},
effect: quotes => {
if (quotes.length > 0) {

View File

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