@esfaenza/es-table 11.2.100 → 11.2.102

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.
@@ -854,8 +854,10 @@
854
854
  switch (h.type) {
855
855
  case 'date':
856
856
  date = this.dateExts.getDateConvertion(val);
857
- correctedDate = dayjs(date).add(dayjs().utcOffset(), 'minute');
858
- cell.value = correctedDate.toDate();
857
+ if (date) {
858
+ correctedDate = dayjs(date).add(dayjs().utcOffset(), 'minute');
859
+ cell.value = correctedDate.toDate();
860
+ }
859
861
  break;
860
862
  case 'number':
861
863
  cell.value = parseFloat(val.replace(',', '.'));
@@ -2114,7 +2116,7 @@
2114
2116
  // Poi per tutti i valori dopo compresi fra la pagina - 1 e la pagina
2115
2117
  for (var i = ((this.est.arraymodePage - 1) * this.est.ArraymodeItemsPerPage); i < this.est.arraymodePage * this.est.ArraymodeItemsPerPage; i++) {
2116
2118
  if (i <= items.length - 1)
2117
- tmpItems.push(items);
2119
+ tmpItems.push(items[i]);
2118
2120
  }
2119
2121
  return tmpItems;
2120
2122
  };