@punks/backend-entity-manager 0.0.376 → 0.0.378
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/dist/cjs/index.js
CHANGED
|
@@ -417,7 +417,12 @@ class EntitySerializer {
|
|
|
417
417
|
},
|
|
418
418
|
...definition.columns.map((c) => ({
|
|
419
419
|
header: c.name,
|
|
420
|
-
value: (item) =>
|
|
420
|
+
value: (item) => {
|
|
421
|
+
const value = this.getColumnValue(item, c);
|
|
422
|
+
return c.array
|
|
423
|
+
? joinArrayColumn(value, c.arraySeparator)
|
|
424
|
+
: value;
|
|
425
|
+
},
|
|
421
426
|
headerSize: c.colSpan,
|
|
422
427
|
})),
|
|
423
428
|
],
|