vcomply-workflow-engine 2.1.88 → 2.1.89

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.
@@ -23721,7 +23721,12 @@
23721
23721
  }
23722
23722
  };
23723
23723
  ProgramsService.prototype.listToId = function (list, key) {
23724
- return list.map(function (ele) { return ele[key]; });
23724
+ if (list && (list === null || list === void 0 ? void 0 : list.length)) {
23725
+ return list.map(function (ele) { return ele[key]; });
23726
+ }
23727
+ else {
23728
+ return [];
23729
+ }
23725
23730
  };
23726
23731
  /**
23727
23732
  *