do not reset regionRegistration
This commit is contained in:
parent
0c1c40523d
commit
ab658b9c7a
@ -367,7 +367,7 @@ const gibddReactions: IReactionEffect[] = [
|
||||
},
|
||||
}),
|
||||
|
||||
(calculationStore, calculationProcess) => ({
|
||||
calculationStore => ({
|
||||
expression: () => {
|
||||
return {
|
||||
lead: calculationStore.getOption('selectLead'),
|
||||
@ -376,15 +376,11 @@ const gibddReactions: IReactionEffect[] = [
|
||||
};
|
||||
},
|
||||
effect: ({ lead, opportunity, objectRegistration }) => {
|
||||
if (calculationProcess.process !== Process.Default) {
|
||||
return;
|
||||
}
|
||||
calculationStore.setFilter('selectRegionRegistration', undefined);
|
||||
calculationStore.setStatus(
|
||||
'selectRegionRegistration',
|
||||
ElementStatus.Default,
|
||||
);
|
||||
calculationStore.setValue('regionRegistration', null);
|
||||
|
||||
if (objectRegistration === 100000001) {
|
||||
calculationStore.setFilter('selectRegionRegistration', options =>
|
||||
|
||||
Reference in New Issue
Block a user