fix multiple running load-kp query

This commit is contained in:
vchikalkin 2023-02-23 22:41:12 +03:00
parent 35d596579b
commit 579b10793a

View File

@ -11,7 +11,7 @@ export function common({ store, trpcClient }: ProcessContext) {
reaction(
() => $calculation.element('selectQuote').getValue(),
(quoteId) => {
if (!quoteId) return;
if (!quoteId || $process.has('LoadKP')) return;
$process.add('LoadKP');