keevo-components 1.3.0 → 1.3.2

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.
@@ -915,13 +915,13 @@ class TableComponent {
915
915
  let value = rowData[col.field];
916
916
  let rowClass;
917
917
  this.tableSize > 800 ? rowClass = 'text-base' : rowClass = 'text-sm';
918
- if (col.field == 'vencimento') {
918
+ if (col.field == 'datavencimento') {
919
919
  new Date(value) < new Date() ? rowClass = rowClass + ' text-red-400 font-semibold' : '';
920
920
  }
921
921
  return rowClass;
922
922
  }
923
923
  expiredFile(rowData, col) {
924
- let value = rowData['vencimento'];
924
+ let value = rowData['datavencimento'];
925
925
  return new Date(value) < new Date() && col.field == 'area';
926
926
  }
927
927
  transformValue(rowData, col) {
@@ -973,7 +973,6 @@ class TableComponent {
973
973
  retornarCampo(action, rowData, field) {
974
974
  const _function = action.dynamicfields ? action.dynamicfields[field] : null;
975
975
  const _field = _function ? _function.apply(action, [rowData]) : action[field];
976
- console.log('FIELD', _field);
977
976
  return _field;
978
977
  }
979
978
  }