@churchillliving/se-ui-toolkit 6.53.436 → 6.53.437
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.
- package/bundles/churchillliving-se-ui-toolkit.umd.js +5 -6
- package/bundles/churchillliving-se-ui-toolkit.umd.js.map +1 -1
- package/esm2015/lib/components/base/cards/card.component.js +3 -6
- package/esm2015/lib/components/base/form/form.component.js +4 -2
- package/fesm2015/churchillliving-se-ui-toolkit.js +5 -6
- package/fesm2015/churchillliving-se-ui-toolkit.js.map +1 -1
- package/package.json +1 -1
|
@@ -7209,7 +7209,9 @@
|
|
|
7209
7209
|
if (cardControl) {
|
|
7210
7210
|
var index = cardControl.card.data.findIndex(function (card) { return card.id == deletedItem.id; });
|
|
7211
7211
|
console.log('index: ', index);
|
|
7212
|
-
|
|
7212
|
+
if (index > -1) {
|
|
7213
|
+
cardControl.card.data.splice(index, 1);
|
|
7214
|
+
}
|
|
7213
7215
|
}
|
|
7214
7216
|
;
|
|
7215
7217
|
});
|
|
@@ -9197,11 +9199,8 @@
|
|
|
9197
9199
|
if (_this.data && event) {
|
|
9198
9200
|
var arr = __spreadArray([], __read(_this.data));
|
|
9199
9201
|
var index = arr.findIndex(function (i) { return i.blobfileurl === event.blobfileurl; });
|
|
9200
|
-
var obj =
|
|
9201
|
-
|
|
9202
|
-
obj = arr[index];
|
|
9203
|
-
arr.splice(index, 1);
|
|
9204
|
-
}
|
|
9202
|
+
var obj = arr[index];
|
|
9203
|
+
arr.splice(index, 1);
|
|
9205
9204
|
_this.data = __spreadArray([], __read(arr));
|
|
9206
9205
|
if (_this.card && _this.card.onDelete) {
|
|
9207
9206
|
obj = _this.replacePropName(obj);
|