|
|
|
@ -26,7 +26,7 @@ function* getControlGpSaga(
|
|
|
|
|
let gpsData: ControlGpData[] = []; |
|
|
|
|
|
|
|
|
|
//사용자가 등록한 기체(식별장치 포함)만 관제에서 볼 수 있게 필터처리
|
|
|
|
|
if (controlGroupAuthInfo.length > 0) { |
|
|
|
|
if (controlGroupAuthInfo?.length > 0) { |
|
|
|
|
controlGroupAuthInfo.forEach(auth => { |
|
|
|
|
if (gpsData.length > 0) return false; |
|
|
|
|
|
|
|
|
@ -46,7 +46,7 @@ function* getControlGpSaga(
|
|
|
|
|
|
|
|
|
|
data.forEach(gps => { |
|
|
|
|
if (gps.controlId && gps.objectId.substring(0, 2) === 'PA') { |
|
|
|
|
const arcrft = controlGroupAuthInfo.find( |
|
|
|
|
const arcrft = controlGroupAuthInfo?.find( |
|
|
|
|
auth => auth.idntfNum === gps.objectId |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|