Skip to content

Commit

Permalink
fix(fe:FSADT1-1490): Issue when trying to save an unregistered client…
Browse files Browse the repository at this point in the history
… with BCeID (#1138)
  • Loading branch information
mamartinezmejia authored Sep 4, 2024
1 parent 985c27c commit 9a78d56
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { useFocus } from "@/composables/useFocus";
import {
BusinessSearchResult,
ClientTypeEnum,
LegalTypeEnum,
ProgressNotification,
} from "@/dto/CommonTypesDto";
import { BusinessTypeEnum, CodeNameType } from "@/dto/CommonTypesDto";
Expand Down Expand Up @@ -344,6 +345,11 @@ watch([selectedOption], () => {
ClientTypeEnum,
ClientTypeEnum.USP
);
formData.value.businessInformation.legalType = getEnumKeyByEnumValue(
LegalTypeEnum,
LegalTypeEnum.SP
);
formData.value.businessInformation.businessName = ForestClientUserSession
.user?.businessName
? ForestClientUserSession.user?.businessName
Expand Down

0 comments on commit 9a78d56

Please sign in to comment.