tnx-shared 5.3.103 → 5.3.104
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/tnx-shared.umd.js +6 -0
- package/bundles/tnx-shared.umd.js.map +1 -1
- package/bundles/tnx-shared.umd.min.js +1 -1
- package/bundles/tnx-shared.umd.min.js.map +1 -1
- package/esm2015/services/common.service.js +7 -1
- package/fesm2015/tnx-shared.js +6 -0
- package/fesm2015/tnx-shared.js.map +1 -1
- package/package.json +2 -2
- package/services/common.service.d.ts.map +1 -1
|
@@ -4573,6 +4573,9 @@
|
|
|
4573
4573
|
if (model[field] && !_this.isEmptyArrayOrNull(model[field])) {
|
|
4574
4574
|
model[field] = model[field].split(splitBy);
|
|
4575
4575
|
}
|
|
4576
|
+
else {
|
|
4577
|
+
model[field] = [];
|
|
4578
|
+
}
|
|
4576
4579
|
});
|
|
4577
4580
|
};
|
|
4578
4581
|
CommonService.prototype.parseArrayToString = function (data, fields, splitBy) {
|
|
@@ -4585,6 +4588,9 @@
|
|
|
4585
4588
|
if (data[field] && Array.isArray(data[field]) && !_this.isEmptyArrayOrNull(data[field])) {
|
|
4586
4589
|
data[field] = data[field].join(splitBy);
|
|
4587
4590
|
}
|
|
4591
|
+
else {
|
|
4592
|
+
data[field] = '';
|
|
4593
|
+
}
|
|
4588
4594
|
});
|
|
4589
4595
|
};
|
|
4590
4596
|
CommonService.prototype.isMoreThanDaysFromNow = function (dt, days) {
|