Revert "enable init elt on load-kp"
This reverts commit c6f0474f66670c85dcd60d703e757cb6b00ccc3b.
This commit is contained in:
parent
72ec742b39
commit
681fe6139a
@ -1,6 +1,6 @@
|
||||
import type { ProcessContext } from '../../types';
|
||||
import helper from '../lib/helper';
|
||||
import { disposableDebouncedReaction, disposableReaction } from '@/utils/mobx';
|
||||
import { disposableReaction } from '@/utils/mobx';
|
||||
import { comparer, toJS } from 'mobx';
|
||||
|
||||
export default function reactions(context: ProcessContext) {
|
||||
@ -9,8 +9,8 @@ export default function reactions(context: ProcessContext) {
|
||||
|
||||
const { init } = helper(context);
|
||||
|
||||
disposableDebouncedReaction(
|
||||
() => $process.has('ELT'),
|
||||
disposableReaction(
|
||||
() => $process.has('ELT') || $process.has('LoadKP'),
|
||||
() => ({
|
||||
values: $calculation.$values.getValues([
|
||||
'objectRegistration',
|
||||
@ -55,12 +55,11 @@ export default function reactions(context: ProcessContext) {
|
||||
delay: 10,
|
||||
equals: comparer.shallow,
|
||||
fireImmediately: true,
|
||||
wait: 100,
|
||||
}
|
||||
);
|
||||
|
||||
disposableDebouncedReaction(
|
||||
() => $process.has('ELT'),
|
||||
disposableReaction(
|
||||
() => $process.has('ELT') || $process.has('LoadKP'),
|
||||
() => ({
|
||||
values: $calculation.$values.getValues([
|
||||
'legalClientRegion',
|
||||
@ -112,7 +111,6 @@ export default function reactions(context: ProcessContext) {
|
||||
delay: 10,
|
||||
equals: comparer.shallow,
|
||||
fireImmediately: true,
|
||||
wait: 100,
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user