diff --git a/src/controllers/installationController.js b/src/controllers/installationController.js index 2b20ad77..c313fdfd 100644 --- a/src/controllers/installationController.js +++ b/src/controllers/installationController.js @@ -1772,6 +1772,7 @@ exports.masterConnectedSlaveList = async (req, reply) => { ...master, isMaster: true, tankLocation: tankDetails?.tankLocation || null, + product_status: master.product_status || 'pending', typeOfWater: masterTypeOfWater, tankHeight: null, masterName: masterOrderInfo.masterName, @@ -1896,6 +1897,7 @@ return { ...slave, isMaster: false, hardwareId: finalHardwareId, + product_status: slave.product_status || 'pending', tankHeight: matchingTankData?.tankHeight ?? null, typeOfWater: masterTypeOfWater === 'bore' ? 'bore' : (slave.typeOfWater || null), height: slaveTankMeta?.height || null,