fix: disable resetValue selectSeasonType selectHighSeasonStart on load-kp
This commit is contained in:
parent
6c08b3e909
commit
058419496d
@ -532,11 +532,15 @@ export default function reactions({ store }: ProcessContext) {
|
||||
() => $process.has('LoadKP')
|
||||
);
|
||||
|
||||
reaction(
|
||||
() => $calculation.element('radioGraphType').getValue(),
|
||||
() => {
|
||||
$calculation.element('selectSeasonType').resetValue();
|
||||
$calculation.element('selectHighSeasonStart').resetValue();
|
||||
}
|
||||
makeDisposable(
|
||||
() =>
|
||||
reaction(
|
||||
() => $calculation.element('radioGraphType').getValue(),
|
||||
() => {
|
||||
$calculation.element('selectSeasonType').resetValue();
|
||||
$calculation.element('selectHighSeasonStart').resetValue();
|
||||
}
|
||||
),
|
||||
() => $process.has('LoadKP')
|
||||
);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user