From 2eed0b91a1839aa8cfc41a7f4d8348406596fcd0 Mon Sep 17 00:00:00 2001 From: Chika Date: Thu, 10 Dec 2020 16:12:36 +0300 Subject: [PATCH] remove withTrailer validation --- src/client/stores/CalculationStore/Effects/autorun.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/client/stores/CalculationStore/Effects/autorun.ts b/src/client/stores/CalculationStore/Effects/autorun.ts index e429908..4bbab2e 100644 --- a/src/client/stores/CalculationStore/Effects/autorun.ts +++ b/src/client/stores/CalculationStore/Effects/autorun.ts @@ -88,11 +88,6 @@ const autorunEffects: IAutorunEffect[] = [ } else { calculationStore.setValidation('tbxMaxMass', true); } - if (!withTrailer) { - calculationStore.setValidation('cbxWithTrailer', false); - } else { - calculationStore.setValidation('cbxWithTrailer', true); - } } else { calculationStore.setValidation('tbxMaxMass', true); calculationStore.setValidation('cbxWithTrailer', true);