@esfaenza/extensions 15.2.30 → 15.2.31

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.
@@ -2000,8 +2000,10 @@ class ExportService {
2000
2000
  let idx = 0;
2001
2001
  for (const [key, val] of Object.entries(object)) {
2002
2002
  // Ignoro tutti i cmapi che non fanno parte della selezione delle colonne
2003
- if (columnsSelection && !columnsSelection[key])
2004
- continue;
2003
+ if (key && !columnsSelection[key] && Object.keys(columnsSelection).length > 0) {
2004
+ console.log("[@esfaenza/extensions] Colonna da non esportare: " + key);
2005
+ return;
2006
+ }
2005
2007
  let propname = prop + "_" + key;
2006
2008
  let value = valueprefix ? valueprefix + " " + val : val;
2007
2009
  let label = headerprefix ? headerprefix + " " + key : key;