zone response zone-points added
This commit is contained in:
@@ -108,7 +108,7 @@ export class Zoneservice {
|
||||
isArchive: false,
|
||||
})
|
||||
.select(
|
||||
"panelOrder zoneName zonePoints lockedPanel zoneId viewPortCenter viewPortposition"
|
||||
"panelOrder zoneName zonePoints lockedPanel zoneId viewPortCenter viewPortposition points"
|
||||
);
|
||||
if (!existingZone) {
|
||||
return res.send({ message: "Zone not found for the UUID" });
|
||||
@@ -146,7 +146,7 @@ export class Zoneservice {
|
||||
activeSides: existingZone.panelOrder || [],
|
||||
panelOrder: existingZone.panelOrder || [],
|
||||
lockedPanels: existingZone.lockedPanel || [],
|
||||
points: existingZone.zonePoints || [],
|
||||
points: existingZone.points || [],
|
||||
widgets: flattenedWidgets,
|
||||
};
|
||||
|
||||
@@ -166,7 +166,7 @@ export class Zoneservice {
|
||||
isArchive: false,
|
||||
})
|
||||
.select(
|
||||
"panelOrder zoneName zonePoints lockedPanel zoneId viewPortCenter viewPortposition"
|
||||
"panelOrder zoneName zonePoints lockedPanel zoneId viewPortCenter viewPortposition points"
|
||||
);
|
||||
if (!existingZones) {
|
||||
return res.send({ message: "Zone not found for the UUID" });
|
||||
@@ -205,7 +205,7 @@ export class Zoneservice {
|
||||
activeSides: zone.panelOrder || [],
|
||||
panelOrder: zone.panelOrder || [],
|
||||
lockedPanels: zone.lockedPanel || [],
|
||||
points: zone.zonePoints || [],
|
||||
points: zone.points || [],
|
||||
widgets: widgets.flat(),
|
||||
};
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user