fix selectLeaseObjectCategory reset filter

This commit is contained in:
Chika 2021-01-19 14:16:40 +03:00
parent 63475d0adb
commit 044221b739
2 changed files with 2 additions and 2 deletions

View File

@ -119,8 +119,6 @@ const autorunEffects: IAutorunEffect[] = [
},
calculationStore => () => {
calculationStore.setFilter('selectLeaseObjectCategory', undefined);
const { leaseObjectType: leaseObjectTypeId } = calculationStore.values;
if (!leaseObjectTypeId) {
calculationStore.setStatus(

View File

@ -1674,6 +1674,8 @@ const reactionEffects: IReactionEffect[] = [
calculationStore.setValidation('tbxCountSeats', undefined);
calculationStore.setValidation('tbxMaxMass', undefined);
calculationStore.setFilter('selectLeaseObjectCategory', undefined);
if (!leaseObjectTypeId) {
return;
}