diff --git a/apps/web/process/supplier-agent/reactions/supplier.ts b/apps/web/process/supplier-agent/reactions/supplier.ts index 9d702f4..3f871be 100644 --- a/apps/web/process/supplier-agent/reactions/supplier.ts +++ b/apps/web/process/supplier-agent/reactions/supplier.ts @@ -38,7 +38,6 @@ export function commonReactions({ store, apolloClient }: ReactionsContext) { async (dealerId) => { if (!dealerId) { $calculation.element('selectDealerPerson').reset(); - $calculation.element('selectDealerBroker').reset(); return; } @@ -107,6 +106,8 @@ export function commonReactions({ store, apolloClient }: ReactionsContext) { () => $calculation.element('selectDealerPerson').getValue(), async (dealerPersonId) => { if (!dealerPersonId) { + $calculation.element('selectDealerBroker').reset(); + return; }