kui-crm_actions 0.0.88 → 0.0.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.
- package/cjs/index.js +3 -3
- package/cjs/index.js.map +1 -1
- package/index.js +3 -3
- package/index.js.map +1 -1
- package/package.json +1 -1
package/cjs/index.js
CHANGED
@@ -238,7 +238,7 @@ var inspectionsRequestBody = {
|
|
238
238
|
},
|
239
239
|
getInspectionFilling: function (fillingList) {
|
240
240
|
return {
|
241
|
-
filling: fillingList.map(function (filling) { return ({
|
241
|
+
filling: fillingList === null || fillingList === void 0 ? void 0 : fillingList.map(function (filling) { return ({
|
242
242
|
apartment_feature_id: filling.id,
|
243
243
|
is_absent: !filling.check,
|
244
244
|
}); }),
|
@@ -1035,13 +1035,13 @@ var FillingListStore = /** @class */ (function () {
|
|
1035
1035
|
});
|
1036
1036
|
}); };
|
1037
1037
|
this.updateFillingList = function (fillingList) {
|
1038
|
-
_this.fillingList = fillingList.map(function (filling) { return ({
|
1038
|
+
_this.fillingList = (fillingList === null || fillingList === void 0 ? void 0 : fillingList.map(function (filling) { return ({
|
1039
1039
|
id: filling.id,
|
1040
1040
|
name: filling.description,
|
1041
1041
|
serialNumber: filling.serial_code,
|
1042
1042
|
numberOfSubjects: filling.amount,
|
1043
1043
|
wasMissing: filling.is_absent,
|
1044
|
-
}); });
|
1044
|
+
}); })) || [];
|
1045
1045
|
};
|
1046
1046
|
this.fillingList = [];
|
1047
1047
|
this.loader = new kuiUtils.Loader();
|