multicloud_rule_manager 1.1.35 → 1.1.37
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.
|
@@ -94,11 +94,14 @@ export default {
|
|
|
94
94
|
|
|
95
95
|
const mapData = await mapResp.json();
|
|
96
96
|
|
|
97
|
-
|
|
97
|
+
var children = mapData?.map_j2j_published?._children;
|
|
98
98
|
|
|
99
99
|
if (!Array.isArray(children)) {
|
|
100
|
-
|
|
101
|
-
|
|
100
|
+
children = mapData?.map_j2j_published;
|
|
101
|
+
if (!Array.isArray(children)) {
|
|
102
|
+
console.warn(`⚠️ Nessun _children trovato per ${record.name} - ${record.guid}`);
|
|
103
|
+
continue;
|
|
104
|
+
}
|
|
102
105
|
}
|
|
103
106
|
|
|
104
107
|
// costruzione JSON finale
|