vcomply-workflow-engine 0.1.8 → 0.2.1

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.
@@ -1739,7 +1739,7 @@
1739
1739
  rating_arr: [],
1740
1740
  member_id: this.memberId,
1741
1741
  organisation_id: this.organizationId,
1742
- risk_progress_flag: 1,
1742
+ risk_progress_flag: (this.mode === 'EDIT') ? this.editDetails.risk_progress_flag : 1,
1743
1743
  IfAssessmentDone: (this.mode == 'EDIT') ? this.editDetails.IfAssessmentDone : 0,
1744
1744
  workshop_id: (this.mode == 'EDIT') ? this.editDetails.workshop_id : 0,
1745
1745
  complete_assessment: 0,
@@ -11993,8 +11993,9 @@
11993
11993
  LogIssueService.prototype.getIssueCategories = function () {
11994
11994
  var headers = new i1.HttpHeaders().set('token', this.authService.getAuthorizationToken());
11995
11995
  return this.http
11996
- .get(this.env.assurance + 'Issue/Category/List', { headers: headers })
11996
+ .get(this.env.assurance + 'Issue/Category/CatList?categories=true', { headers: headers })
11997
11997
  .pipe(operators.retry(2));
11998
+ //https://devapi.v-comply.com/Assurance/Issue/Category/CatList/1?isBusinessCycle=true&categories=true
11998
11999
  };
11999
12000
  LogIssueService.prototype.getResponsibilityCenterList = function () {
12000
12001
  var headers = new i1.HttpHeaders().set('token', this.authService.getAuthorizationToken());
@@ -12879,7 +12880,6 @@
12879
12880
  // this.closeWorkFlow(this.issueData, false);
12880
12881
  }
12881
12882
  else if (evt === 'viewIssue') {
12882
- this.showSmiley = false;
12883
12883
  this.viewIssue();
12884
12884
  }
12885
12885
  };