@idsoftsource/initial-process 2.1.8 → 2.1.9

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.
@@ -4772,6 +4772,9 @@ class PreviewComponent {
4772
4772
  return this.providerName;
4773
4773
  }
4774
4774
  get effectiveTargetProviderId() {
4775
+ if (this.roleContextService?.tempUserContext()?.tenantId && this.roleContextService?.tempUserContext()?.tenantId != undefined && this.roleContextService?.tempUserContext()?.tenantId != null && this.roleContextService?.tempUserContext()?.tenantId != '') {
4776
+ return this.roleContextService?.tempUserContext()?.tenantId ?? '';
4777
+ }
4775
4778
  if (this.isProviderRole) {
4776
4779
  return localStorage.getItem('providerId');
4777
4780
  }