vcomply-workflow-engine 7.3.2 → 7.3.3

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.
@@ -12935,6 +12935,7 @@ class FrequencyService {
12935
12935
  return frequencyObject;
12936
12936
  }
12937
12937
  repeatOptions(frequency) {
12938
+ console.log(frequency, 'repeatOptions frequency');
12938
12939
  if (frequency?.selectedDay?.length > 0) {
12939
12940
  const weekDays = [];
12940
12941
  for (let i = 0; i < 7; i++) {
@@ -34004,10 +34005,10 @@ class WorkflowComplianceComponent {
34004
34005
  this.combineUserAndUserGroupMembers(this.mode === 'EDIT' &&
34005
34006
  this.responsibilityForm.assignees.whoCanComplete === 'ALL' &&
34006
34007
  this.rawResponsibility?.userGroupIds?.assigneeAllGroupIds?.length);
34007
- const remarks = entrustForm.description.replace(/\&nbsp;/g, '').trim() !== ''
34008
+ const remarks = entrustForm.description?.replace(/\&nbsp;/g, '').trim() !== ''
34008
34009
  ? entrustForm.description
34009
34010
  : '';
34010
- const objective = entrustForm.objective.replace(/\&nbsp;/g, '').trim() !== ''
34011
+ const objective = entrustForm.objective?.replace(/\&nbsp;/g, '').trim() !== ''
34011
34012
  ? entrustForm.objective
34012
34013
  : '';
34013
34014
  let payload = {
@@ -34226,6 +34227,7 @@ class WorkflowComplianceComponent {
34226
34227
  ? rcDetailsIdArr
34227
34228
  : [];
34228
34229
  }
34230
+ console.log('payload', payload);
34229
34231
  const responsibilityPayload = this.responsibilityService.buildResponsibilityPayload(payload);
34230
34232
  this.responsibilityPayload = payload;
34231
34233
  if (this.mode == 'CREATE' || this.isDuplicate) {
@@ -34509,7 +34511,7 @@ class WorkflowComplianceComponent {
34509
34511
  else {
34510
34512
  repeatOn.forEach((ele, index) => {
34511
34513
  if (ele === '1') {
34512
- selectedMonth.push(index + 1);
34514
+ selectedMonth.push(index);
34513
34515
  ;
34514
34516
  }
34515
34517
  });