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/index.js
CHANGED
@@ -209,7 +209,7 @@ var inspectionsRequestBody = {
|
|
209
209
|
},
|
210
210
|
getInspectionFilling: function (fillingList) {
|
211
211
|
return {
|
212
|
-
filling: fillingList.map(function (filling) { return ({
|
212
|
+
filling: fillingList === null || fillingList === void 0 ? void 0 : fillingList.map(function (filling) { return ({
|
213
213
|
apartment_feature_id: filling.id,
|
214
214
|
is_absent: !filling.check,
|
215
215
|
}); }),
|
@@ -1006,13 +1006,13 @@ var FillingListStore = /** @class */ (function () {
|
|
1006
1006
|
});
|
1007
1007
|
}); };
|
1008
1008
|
this.updateFillingList = function (fillingList) {
|
1009
|
-
_this.fillingList = fillingList.map(function (filling) { return ({
|
1009
|
+
_this.fillingList = (fillingList === null || fillingList === void 0 ? void 0 : fillingList.map(function (filling) { return ({
|
1010
1010
|
id: filling.id,
|
1011
1011
|
name: filling.description,
|
1012
1012
|
serialNumber: filling.serial_code,
|
1013
1013
|
numberOfSubjects: filling.amount,
|
1014
1014
|
wasMissing: filling.is_absent,
|
1015
|
-
}); });
|
1015
|
+
}); })) || [];
|
1016
1016
|
};
|
1017
1017
|
this.fillingList = [];
|
1018
1018
|
this.loader = new Loader();
|