reset brand if leaseObjectType is empty
This commit is contained in:
parent
0b89b59e03
commit
149e73fba8
@ -1475,6 +1475,13 @@ const reactionEffects: IReactionEffect[] = [
|
||||
},
|
||||
}),
|
||||
|
||||
calculationStore => ({
|
||||
expression: () => calculationStore.getValue('leaseObjectType'),
|
||||
effect: leaseObjectType => {
|
||||
!leaseObjectType && calculationStore.setValue('brand', null);
|
||||
},
|
||||
}),
|
||||
|
||||
calculationStore => ({
|
||||
expression: () => {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user