@idsoftsource/initial-process 2.4.4 → 2.4.5
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.
|
@@ -34408,6 +34408,10 @@ class InitialProcessComponent {
|
|
|
34408
34408
|
this.view = 2;
|
|
34409
34409
|
}
|
|
34410
34410
|
selectedUserRole(role) {
|
|
34411
|
+
if (this.selectedRoleValue === 'Provider' && role.value !== 'Provider') {
|
|
34412
|
+
sessionStorage.removeItem('providerId');
|
|
34413
|
+
sessionStorage.removeItem('providerUserMappingId');
|
|
34414
|
+
}
|
|
34411
34415
|
this.isBusiness = false;
|
|
34412
34416
|
if (role.value === 'Producer') {
|
|
34413
34417
|
const findUserRole = this.userRoles.find((a) => a.name === 'Producer');
|
|
@@ -34480,7 +34484,7 @@ class InitialProcessComponent {
|
|
|
34480
34484
|
}
|
|
34481
34485
|
return element;
|
|
34482
34486
|
});
|
|
34483
|
-
if (role.value === 'Contractor') {
|
|
34487
|
+
if (role.value === 'Contractor' && !this.contractorSubCategories.length) {
|
|
34484
34488
|
this.getContractorSubCategories();
|
|
34485
34489
|
}
|
|
34486
34490
|
}
|
|
@@ -34902,6 +34906,7 @@ class InitialProcessComponent {
|
|
|
34902
34906
|
}
|
|
34903
34907
|
}
|
|
34904
34908
|
previous() {
|
|
34909
|
+
this.validatePage = 0;
|
|
34905
34910
|
if (this.view == 4) {
|
|
34906
34911
|
if (this.isBusiness) {
|
|
34907
34912
|
this.view = 3;
|