@idsoftsource/initial-process 3.1.7 → 3.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5738,10 +5738,12 @@ class PreviewComponent {
|
|
|
5738
5738
|
return this.providerName;
|
|
5739
5739
|
}
|
|
5740
5740
|
get effectiveTargetProviderId() {
|
|
5741
|
-
|
|
5742
|
-
|
|
5743
|
-
|
|
5744
|
-
|
|
5741
|
+
// Resume flow passes the picked producer's provider/tenant id explicitly on resumeModel
|
|
5742
|
+
// (set by the host app from the URL's p_id param) for the same reason as effectiveTargetUserId.
|
|
5743
|
+
if (this.isResume && this.resumeModel?.targetProviderId) {
|
|
5744
|
+
return this.resumeModel.targetProviderId;
|
|
5745
|
+
}
|
|
5746
|
+
if (this.roleContextService?.tempUserContext()?.tenantId) {
|
|
5745
5747
|
return this.roleContextService?.tempUserContext()?.tenantId ?? '';
|
|
5746
5748
|
}
|
|
5747
5749
|
if (this.isProviderRole) {
|
|
@@ -5764,7 +5766,7 @@ class PreviewComponent {
|
|
|
5764
5766
|
userBio: basic.summary || "",
|
|
5765
5767
|
firstName: basic.firstName,
|
|
5766
5768
|
lastName: basic.lastName,
|
|
5767
|
-
email: this.useremail,
|
|
5769
|
+
email: this.isResume ? (basic.email || this.useremail) : this.useremail,
|
|
5768
5770
|
address1: basic.address,
|
|
5769
5771
|
address2: "",
|
|
5770
5772
|
city: basic.city,
|
|
@@ -5964,7 +5966,7 @@ class PreviewComponent {
|
|
|
5964
5966
|
return {
|
|
5965
5967
|
id: "00000000-0000-0000-0000-000000000000",
|
|
5966
5968
|
providerName: this.effectiveProviderName,
|
|
5967
|
-
|
|
5969
|
+
targetProviderId: this.effectiveTargetProviderId,
|
|
5968
5970
|
targetUserId: this.effectiveTargetUserId,
|
|
5969
5971
|
userName: this.payloadUserName,
|
|
5970
5972
|
issuedState: exp.state,
|
|
@@ -5993,7 +5995,7 @@ class PreviewComponent {
|
|
|
5993
5995
|
return {
|
|
5994
5996
|
id: "00000000-0000-0000-0000-000000000000",
|
|
5995
5997
|
providerName: this.effectiveProviderName,
|
|
5996
|
-
|
|
5998
|
+
targetProviderId: this.effectiveTargetProviderId,
|
|
5997
5999
|
targetUserId: this.effectiveTargetUserId,
|
|
5998
6000
|
userName: this.payloadUserName,
|
|
5999
6001
|
number: exp.licenseNumber,
|