vcomply-workflow-engine 2.4.85 → 2.4.87

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.
@@ -25324,9 +25324,11 @@
25324
25324
  _this.createdProgramId = res._id;
25325
25325
  },
25326
25326
  error: function (err) {
25327
+ var _a;
25327
25328
  _this.loader = false;
25328
25329
  _this.uiKitService.isSmileyOn = false;
25329
- if (err.error.message == "Category already exist.") {
25330
+ console.log("err 1111", err);
25331
+ if (((_a = err === null || err === void 0 ? void 0 : err.error) === null || _a === void 0 ? void 0 : _a.message) == "Category already exist.") {
25330
25332
  _this.isNameExists = true;
25331
25333
  }
25332
25334
  }
@@ -25341,9 +25343,11 @@
25341
25343
  _this.createdProgramId = res._id;
25342
25344
  },
25343
25345
  error: function (err) {
25346
+ var _a;
25344
25347
  _this.loader = false;
25345
25348
  _this.uiKitService.isSmileyOn = false;
25346
- if (err.error.message == "Category already exist.") {
25349
+ console.log("err 22222", err);
25350
+ if (((_a = err === null || err === void 0 ? void 0 : err.error) === null || _a === void 0 ? void 0 : _a.message) == "Category already exist.") {
25347
25351
  _this.isNameExists = true;
25348
25352
  }
25349
25353
  }
@@ -25469,6 +25473,7 @@
25469
25473
  _this.editorData.programObjective = (_e = res.program_objective) === null || _e === void 0 ? void 0 : _e.text;
25470
25474
  _this.setFormField('framework', Object.assign(Object.assign({}, res.framework_details), { _id: (_f = res === null || res === void 0 ? void 0 : res.framework_details) === null || _f === void 0 ? void 0 : _f.framework_id }));
25471
25475
  var role = (_g = res === null || res === void 0 ? void 0 : res.roles) === null || _g === void 0 ? void 0 : _g.map(function (ele) { return { _id: ele === null || ele === void 0 ? void 0 : ele.roleId, roleName: ele === null || ele === void 0 ? void 0 : ele.roleName, licenseType: ele === null || ele === void 0 ? void 0 : ele.licenseType }; });
25476
+ console.log("rolerolerolerolerolerolerolerolerolerolerolerole", res, role);
25472
25477
  _this.setFormField('program_roles', role);
25473
25478
  if (res.assessmentData.length) {
25474
25479
  res.assessmentData = res.assessmentData.map(function (ele) {