@alfresco/adf-core 8.4.0-19738911281 → 8.4.0-19746515164
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/fesm2022/adf-core.mjs
CHANGED
|
@@ -16559,9 +16559,15 @@ class DataTableComponent {
|
|
|
16559
16559
|
return !!property?.currentValue;
|
|
16560
16560
|
}
|
|
16561
16561
|
convertToRowsData(rows) {
|
|
16562
|
+
if (!Array.isArray(rows)) {
|
|
16563
|
+
return [];
|
|
16564
|
+
}
|
|
16562
16565
|
return rows.map((row) => new ObjectDataRow(row, row.isSelected, row?.isSelectable));
|
|
16563
16566
|
}
|
|
16564
16567
|
convertToColumnsData(columns) {
|
|
16568
|
+
if (!Array.isArray(columns)) {
|
|
16569
|
+
return [];
|
|
16570
|
+
}
|
|
16565
16571
|
return columns.map((column) => new ObjectDataColumn(column));
|
|
16566
16572
|
}
|
|
16567
16573
|
convertToDataSorting(sorting) {
|