@esfaenza/extensions 11.2.41 → 11.2.42

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.
@@ -1090,7 +1090,9 @@
1090
1090
  ExportService.prototype.parseAndGetHeaders = function (obj, columnsSelection) {
1091
1091
  var headers = [];
1092
1092
  // Miracle incoming
1093
- var exportProps = obj[exportList];
1093
+ var exportProps = obj[exportList] || [];
1094
+ if (exportProps.length == 0)
1095
+ console.warn("[@esfaenza/extensions] Nessuna colonna configurata da esportare!");
1094
1096
  for (var i = 0; i < exportProps.length; i++) {
1095
1097
  var prop = exportProps[i];
1096
1098
  var propBase = "";