vcomply-workflow-engine 6.6.1 → 6.6.2

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.
@@ -31914,7 +31914,6 @@ class WorkflowComplianceComponent {
31914
31914
  this.unSubscribeProgram = new Subject();
31915
31915
  this.customFields = [];
31916
31916
  this.selectedPrograms = {};
31917
- this.checkCustomFields();
31918
31917
  this.organizationCommonService?.getOrgUserInfo()?.subscribe({
31919
31918
  next: (res) => {
31920
31919
  const complianceSubmodule = res?.roleActions[res?.roleActions?.findIndex((ele) => ele?.moduleName === 'compliance')]?.subModule;
@@ -31959,6 +31958,7 @@ class WorkflowComplianceComponent {
31959
31958
  this.checkWhetherAllListsLoaded();
31960
31959
  this.getOrganizationDetails();
31961
31960
  this.getUserDetails();
31961
+ this.checkCustomFields();
31962
31962
  this.shortMonth = this.frequencyService.monthArray.map((month) => month.substring(0, 3));
31963
31963
  if (this.openedFrom === 'RISK_TREATMENT') {
31964
31964
  this.getRCDetailsinRiskTreatment();
@@ -31980,6 +31980,7 @@ class WorkflowComplianceComponent {
31980
31980
  this.hideElementsFromMoreOptions.emit(this.hiddenList);
31981
31981
  }
31982
31982
  checkCustomFields() {
31983
+ console.log("customFields ==>", this.customFields);
31983
31984
  if (!this.customFields?.length) {
31984
31985
  console.log('No custom fields');
31985
31986
  this.hiddenList.push('CUSTOM_FIELDS');
@@ -40635,7 +40636,7 @@ class MoreOptionComponent {
40635
40636
  tooltipTitle: 'Custom Fields',
40636
40637
  tooltipMessage: `A custom field is a user-defined data field that allows you to capture information beyond the standard fields provided by the system.`,
40637
40638
  checked: false,
40638
- hidden: false,
40639
+ hidden: true,
40639
40640
  isDisabled: false,
40640
40641
  code: 'CUSTOM_FIELDS',
40641
40642
  },