@idsoftsource/initial-process 3.1.6 → 3.1.7
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.
|
@@ -3124,7 +3124,11 @@ class PreviewComponent {
|
|
|
3124
3124
|
this.useremail = this.roleContextService?.tempUserContext()?.email ?? await this.tokenService.getUserEmail();
|
|
3125
3125
|
const initialData = this.store.profileSignal()?.basicDetails;
|
|
3126
3126
|
if (initialData) {
|
|
3127
|
-
|
|
3127
|
+
// Resume Parsing flow: keep the resume's own parsed email instead of
|
|
3128
|
+
// overwriting it with the logged-in/target user's account email.
|
|
3129
|
+
if (!this.isResume) {
|
|
3130
|
+
initialData.email = this.useremail;
|
|
3131
|
+
}
|
|
3128
3132
|
this.details.set(initialData);
|
|
3129
3133
|
}
|
|
3130
3134
|
this.prefillSectionFieldsFromBasicDetails();
|
|
@@ -5771,7 +5775,7 @@ class PreviewComponent {
|
|
|
5771
5775
|
latitude: null, // optional (if using Google API later)
|
|
5772
5776
|
longitude: null,
|
|
5773
5777
|
yearsActive: 0,
|
|
5774
|
-
isInitialSetupCompleted: false,
|
|
5778
|
+
isInitialSetupCompleted: this.isResume ? true : false,
|
|
5775
5779
|
id: this.payloadUserId,
|
|
5776
5780
|
phoneNumber: basic.phone,
|
|
5777
5781
|
yearsOfExperince: basic.yearsOfExperience,
|