fix: disable resetValue selectSeasonType selectHighSeasonStart on load-kp

This commit is contained in:
vchikalkin 2023-04-06 15:51:48 +03:00
parent 6c08b3e909
commit 058419496d

View File

@ -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')
);
}