diff --git a/dictation_client/src/pages/AccountPage/index.tsx b/dictation_client/src/pages/AccountPage/index.tsx index cf887ef..5bfb8b4 100644 --- a/dictation_client/src/pages/AccountPage/index.tsx +++ b/dictation_client/src/pages/AccountPage/index.tsx @@ -158,7 +158,7 @@ const AccountPage: React.FC = (): JSX.Element => { changeDealer({ parentAccountId: dealers.find( - (x) => x.name === event.target.value + (x) => x.id === Number(event.target.value) )?.id || undefined, }) ); @@ -175,7 +175,7 @@ const AccountPage: React.FC = (): JSX.Element => { )} --`} {dealers.map((x) => ( - ))} diff --git a/dictation_client/src/pages/PartnerPage/addPartnerAccountPopup.tsx b/dictation_client/src/pages/PartnerPage/addPartnerAccountPopup.tsx index 48b36a2..2ea40a4 100644 --- a/dictation_client/src/pages/PartnerPage/addPartnerAccountPopup.tsx +++ b/dictation_client/src/pages/PartnerPage/addPartnerAccountPopup.tsx @@ -110,6 +110,7 @@ export const AddPartnerAccountPopup: React.FC = ( country, adminName, email, + offset, ]); return (