@esfaenza/extensions 15.2.20 → 15.2.21
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.
|
@@ -980,7 +980,7 @@ class ExportService {
|
|
|
980
980
|
if (!loc) {
|
|
981
981
|
let type = obj[prop + csvValueType];
|
|
982
982
|
let proto = new type();
|
|
983
|
-
loc = proto[locProperty];
|
|
983
|
+
loc = proto[locProperty] ? this.lc.generateFromType(proto[locProperty]) : null;
|
|
984
984
|
}
|
|
985
985
|
//Mi clono l'oggetto originale per non uccidergli i riferimenti
|
|
986
986
|
let clone = JSON.parse(JSON.stringify(obj));
|