junh_eee(이준희) 2 years ago
parent
commit
2fece0871c
  1. 8
      src/modules/control/gp/sagas/controlGpSaga.ts

8
src/modules/control/gp/sagas/controlGpSaga.ts

@ -47,10 +47,12 @@ function* getControlGpSaga(
data.forEach(gps => {
if (gps.controlId && gps.objectId.substring(0, 2) === 'PA') {
const arcrft = controlGroupAuthInfo.find(auth => auth.idntfNum === gps.objectId);
const arcrft = controlGroupAuthInfo.find(
auth => auth.idntfNum === gps.objectId
);
if (arcrft) controlIds.push(gps.controlId);
}
if (arcrft) controlIds.push(gps.controlId);
}
});
const param = controlIds.join(',');

Loading…
Cancel
Save