vc-create-dashboard 2.5.3 → 2.5.4

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.
@@ -452,6 +452,12 @@
452
452
  headers: headers,
453
453
  }).pipe(operators.retry(2));
454
454
  };
455
+ CreateDashboardService.prototype.getComplianceCategoriesListFromGlobal = function () {
456
+ var headers = new i1.HttpHeaders().set('token', this.authService.getAuthorizationToken());
457
+ return this.http.get(this.env.complianceGet + 'complianceCategory/CategoryListTree&program=1', {
458
+ headers: headers,
459
+ }).pipe(operators.retry(2));
460
+ };
455
461
  CreateDashboardService.prototype.submitDashboard = function (payload) {
456
462
  var headers = new i1.HttpHeaders().set('token', this.authService.getAuthorizationToken());
457
463
  return this.http.post(this.env.dashboard + 'CreateDashboard', payload, { headers: headers }).pipe(operators.retry(2));
@@ -1104,7 +1110,7 @@
1104
1110
  };
1105
1111
  CreateDashboardComponent.prototype.getComplianceCategoryList = function () {
1106
1112
  var _this = this;
1107
- this.createDashboardService.getComplianceCategoriesList().subscribe(function (res) {
1113
+ this.createDashboardService.getComplianceCategoriesListFromGlobal().subscribe(function (res) {
1108
1114
  var data = res;
1109
1115
  _this.allComplianceCategories = Object.assign(res);
1110
1116
  // cloneDeep(res);