@idsoftsource/initial-process 4.1.6 → 4.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.
@@ -2946,10 +2946,9 @@ class UserDocumentService {
2946
2946
  return params;
2947
2947
  }
2948
2948
  getDocumentTypes(maintype, _providerId, searchText = '', professionId = null) {
2949
- const mainTypes = Array.isArray(maintype) ? maintype : [maintype];
2950
2949
  let params = new HttpParams()
2951
2950
  .set('IsActive', true);
2952
- mainTypes.forEach(mt => {
2951
+ maintype.forEach(mt => {
2953
2952
  params = params.append('MainType', mt);
2954
2953
  });
2955
2954
  if (searchText.trim()) {
@@ -9393,14 +9392,14 @@ class CertificationComponent {
9393
9392
  }
9394
9393
  loadDocumentTypes(searchText = '') {
9395
9394
  this.userDocumentService
9396
- .getDocumentTypes(2, this.providerId, searchText, this.selectedProfessionId)
9395
+ .getDocumentTypes([2], this.providerId, searchText, this.selectedProfessionId)
9397
9396
  .subscribe(res => {
9398
9397
  this.documentTypes = res?.data || [];
9399
9398
  });
9400
9399
  }
9401
9400
  loadDocumentTypesDefault(searchText = '') {
9402
9401
  this.userDocumentService
9403
- .getDocumentTypes(2, this.providerId, searchText, this.selectedProfessionId)
9402
+ .getDocumentTypes([2], this.providerId, searchText, this.selectedProfessionId)
9404
9403
  .subscribe(res => {
9405
9404
  this.documentTypes = res?.data || [];
9406
9405
  });
@@ -10685,7 +10684,7 @@ class SkillsComponent {
10685
10684
  getSkillSets() {
10686
10685
  this.skillSubmittedValue = false;
10687
10686
  const manualSkills = this.skillSets.filter((s) => s.isManual);
10688
- const q = { orderBy: 'name asc', isActive: true, targetProviderId: '00000000-0000-0000-0000-000000000000' };
10687
+ const q = { orderBy: 'name asc', isActive: true /*, targetProviderId: '00000000-0000-0000-0000-000000000000' */ };
10689
10688
  if (this.selectedSkillSetCategory?.id) {
10690
10689
  q.skillSetCategoryId = this.selectedSkillSetCategory.id;
10691
10690
  }
@@ -10998,14 +10997,14 @@ class LicensesComponent {
10998
10997
  }
10999
10998
  loadDocumentTypes(searchText = '') {
11000
10999
  this.userDocumentService
11001
- .getDocumentTypes(1, this.providerId, searchText)
11000
+ .getDocumentTypes([1], this.providerId, searchText)
11002
11001
  .subscribe(res => {
11003
11002
  this.documentTypes = res?.data || [];
11004
11003
  });
11005
11004
  }
11006
11005
  loadDocumentTypesDefault(searchText = '') {
11007
11006
  this.userDocumentService
11008
- .getDocumentTypes(1, this.providerId, searchText)
11007
+ .getDocumentTypes([1], this.providerId, searchText)
11009
11008
  .subscribe(res => {
11010
11009
  this.documentTypes = res?.data || [];
11011
11010
  });
@@ -12045,8 +12044,8 @@ class ToolsComponent {
12045
12044
  const manualTools = this.tools.filter((s) => s.isManual);
12046
12045
  var query = {
12047
12046
  orderBy: 'name asc',
12048
- isActive: true,
12049
- targetProviderId: '00000000-0000-0000-0000-000000000000'
12047
+ isActive: true
12048
+ // targetProviderId: '00000000-0000-0000-0000-000000000000'
12050
12049
  };
12051
12050
  if (this.selectedToolCategory.id != '' && this.selectedToolCategory.id != undefined && this.selectedToolCategory.id != null) {
12052
12051
  query.toolId = this.selectedToolCategory.id;