From 32fa8712388656570473531bce074afdfe2a9af5 Mon Sep 17 00:00:00 2001 From: Chika Date: Tue, 8 Nov 2022 09:36:26 +0300 Subject: [PATCH] process/load-kp: block selectQuote show loading message --- process/load-kp/reactions.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/process/load-kp/reactions.ts b/process/load-kp/reactions.ts index 67ecf1f..ecf53c3 100644 --- a/process/load-kp/reactions.ts +++ b/process/load-kp/reactions.ts @@ -49,4 +49,11 @@ export default function loadKpReactions({ store, trpcClient }: ReactionsContext) }); } ); + + reaction( + () => $process.has('LoadKP'), + (isLoadKP) => { + $calculation.$status.setStatus('selectQuote', isLoadKP ? 'Disabled' : 'Default'); + } + ); }