vcomply-workflow-engine 3.8.7 → 3.8.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.
- package/esm2022/lib/workflow-policy/workflow-policy.component.mjs +3 -3
- package/esm2022/lib/workflow-risk/workflow-risk.component.mjs +2 -1
- package/fesm2022/vcomply-workflow-engine.mjs +3 -2
- package/fesm2022/vcomply-workflow-engine.mjs.map +1 -1
- package/lib/add-multiple-risk/add-multiple-risk.component.d.ts +1 -1
- package/lib/workflow-risk/workflow-risk.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -12387,6 +12387,7 @@ class WorkflowRiskComponent {
|
|
|
12387
12387
|
};
|
|
12388
12388
|
this.frequencyPlaceholder = 'Set a Reassessment Frequency';
|
|
12389
12389
|
this.populateOptionalFields();
|
|
12390
|
+
this.addCurrentUser();
|
|
12390
12391
|
this.getOwnersList();
|
|
12391
12392
|
}
|
|
12392
12393
|
action(event) {
|
|
@@ -30315,6 +30316,7 @@ class WorkflowPolicyComponent {
|
|
|
30315
30316
|
}
|
|
30316
30317
|
ngOnInit() {
|
|
30317
30318
|
this._initiateAPI();
|
|
30319
|
+
this.overseerGroupList();
|
|
30318
30320
|
}
|
|
30319
30321
|
_initiateAPI() {
|
|
30320
30322
|
this.groupEnabled =
|
|
@@ -31328,7 +31330,6 @@ class WorkflowPolicyComponent {
|
|
|
31328
31330
|
const reviewerID = this.returnIds(policy.selectedReviewers, 'member_id');
|
|
31329
31331
|
const policyAccessUsersIds = this.returnIds(policy.policy_access_owners, 'member_id') ?? [];
|
|
31330
31332
|
const policyAccessGroupsIds = this.returnIds(policy.policy_access_groups, '_id') ?? [];
|
|
31331
|
-
const startDate = policy.policyDueDate?.$d ?? policy.policyDueDate;
|
|
31332
31333
|
const payload = {
|
|
31333
31334
|
policy_name: policy.policyName,
|
|
31334
31335
|
notes: policy.policyNotes,
|
|
@@ -31355,7 +31356,7 @@ class WorkflowPolicyComponent {
|
|
|
31355
31356
|
? policy.mark_failed_after
|
|
31356
31357
|
: '',
|
|
31357
31358
|
// startDate: policy.policyDueDate.toDateString(),
|
|
31358
|
-
startDate: moment(
|
|
31359
|
+
startDate: moment(policy.policyDueDate).format('ddd MMM DD YYYY'),
|
|
31359
31360
|
ReviewerAttachments: policy.addReviewers && policy.documentsAndLinks.formatFiles
|
|
31360
31361
|
? reviewerFiles
|
|
31361
31362
|
: [],
|