diff --git a/src/components/basis/flight/plan/FlightPlanForm.js b/src/components/basis/flight/plan/FlightPlanForm.js index 3c82257..33c3d05 100644 --- a/src/components/basis/flight/plan/FlightPlanForm.js +++ b/src/components/basis/flight/plan/FlightPlanForm.js @@ -272,27 +272,6 @@ const FlightPlanForm = ({data, handleModal, handleChange, handleSave, handleDele 조종사 조회 - {data.groupNm? - ( - - - handleDeleteArray({ type: 'pilot', index }) - } - outline - > - - 삭제 - - - ) - : - ( - <> - ) - } {pilotList ? pilotList.map((item, i) => - {data.groupNm? - ( - - - handleDeleteArray({ type: 'arcrft', index }) - } - outline - > - - 삭제 - - - ) - : - ( - <> - ) - } {arcrftList ? arcrftList.map((item, i) => { readOnly /> - + {data.groupNm? + ( + + + handleDeleteArray({ type: 'pilot', index }) + } + outline + > + + 삭제 + + + ) + : + ( + <> + ) + } ) } @@ -781,6 +759,7 @@ const ArcrftForm = ({data, handleChange, index, handleDeleteArray}) => { readOnly /> + {/* {index !== 0 ? @@ -802,7 +781,27 @@ const ArcrftForm = ({data, handleChange, index, handleDeleteArray}) => { : <> } */} - + {data.groupNm? + ( + + + handleDeleteArray({ type: 'arcrft', index }) + } + outline + > + + 삭제 + + + ) + : + ( + <> + ) + } ) }