fix selectLeaseObjectCategory reset filter
This commit is contained in:
parent
63475d0adb
commit
044221b739
@ -119,8 +119,6 @@ const autorunEffects: IAutorunEffect[] = [
|
||||
},
|
||||
|
||||
calculationStore => () => {
|
||||
calculationStore.setFilter('selectLeaseObjectCategory', undefined);
|
||||
|
||||
const { leaseObjectType: leaseObjectTypeId } = calculationStore.values;
|
||||
if (!leaseObjectTypeId) {
|
||||
calculationStore.setStatus(
|
||||
|
||||
@ -1674,6 +1674,8 @@ const reactionEffects: IReactionEffect[] = [
|
||||
calculationStore.setValidation('tbxCountSeats', undefined);
|
||||
calculationStore.setValidation('tbxMaxMass', undefined);
|
||||
|
||||
calculationStore.setFilter('selectLeaseObjectCategory', undefined);
|
||||
|
||||
if (!leaseObjectTypeId) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user