dt-common-device 5.1.3 → 5.1.5
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.
|
@@ -114,7 +114,7 @@ let AdminRepository = (() => {
|
|
|
114
114
|
const collectionZone = [];
|
|
115
115
|
for (let i = 0; i < response.length; i++) {
|
|
116
116
|
let zoneIds = [];
|
|
117
|
-
const zones = await this.axiosInstance.get(`/zones/child?zoneId=${response[i].zoneId}`);
|
|
117
|
+
const zones = await this.axiosInstance.get(`/zones/child?zoneId=${response[i].zoneId}`)?.data?.data;
|
|
118
118
|
zoneIds.push(response[i].zoneId);
|
|
119
119
|
if (zones.childZones?.length > 0) {
|
|
120
120
|
const nestedZoneIds = new Set(_zones(zones.childZones));
|