@churchillliving/se-ui-toolkit 6.53.439 → 6.53.440

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.
@@ -10467,8 +10467,8 @@
10467
10467
  else {
10468
10468
  _this.alertService.success('Image deleted successfully.');
10469
10469
  }
10470
- }, function (_c) {
10471
- var error = _c.error;
10470
+ }, function (_e) {
10471
+ var error = _e.error;
10472
10472
  _this.alertService.apiError(error);
10473
10473
  });
10474
10474
  };
@@ -10481,8 +10481,8 @@
10481
10481
  })
10482
10482
  .subscribe(function (response) {
10483
10483
  _this.alertService.success('Image deleted successfully.');
10484
- }, function (_c) {
10485
- var error = _c.error;
10484
+ }, function (_e) {
10485
+ var error = _e.error;
10486
10486
  _this.alertService.apiError(error);
10487
10487
  });
10488
10488
  };
@@ -10529,7 +10529,7 @@
10529
10529
  if (deleteMatchKey === void 0) { deleteMatchKey = ''; }
10530
10530
  arr = setDataFields(arr);
10531
10531
  cardInfo = objConvertToLower(cardInfo);
10532
- var index = arr.findIndex(function (i) { return i[deleteMatchKey] === cardInfo[deleteMatchKey] || i.blobfileurl === cardInfo.blobfileurl; });
10532
+ var index = arr.findIndex(function (i) { var _a, _b, _c, _d; return ((_a = i[deleteMatchKey]) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === ((_b = cardInfo[deleteMatchKey]) === null || _b === void 0 ? void 0 : _b.toLowerCase()) || ((_c = i.blobfileurl) === null || _c === void 0 ? void 0 : _c.toLowerCase()) === ((_d = cardInfo.blobfileurl) === null || _d === void 0 ? void 0 : _d.toLowerCase()); });
10533
10533
  if (index > -1) {
10534
10534
  arr.splice(index, 1);
10535
10535
  }