web\process\configurator\lib\helper: fix getRates
This commit is contained in:
parent
671b25a087
commit
2e8c333374
@ -359,6 +359,7 @@ query GetTarif($tarifId: UUID!) {
|
||||
evo_datefrom
|
||||
evo_rateid
|
||||
evo_type
|
||||
statecode
|
||||
}
|
||||
evo_irr_plan
|
||||
evo_margin_min
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -125,7 +125,7 @@ export default function helper({ apolloClient }: Pick<ProcessContext, 'apolloCli
|
||||
});
|
||||
|
||||
const filtered_evo_tarif_evo_rates =
|
||||
evo_tarif?.evo_rates?.filter((x) => x?.evo_type === 100_000_000) || [];
|
||||
evo_tarif?.evo_rates?.filter((x) => x?.evo_type === 100_000_000 && x.statecode === 0) || [];
|
||||
|
||||
const evo_tarif_evo_rate =
|
||||
evo_tarif?.evo_rates &&
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user