From 511892feb65138cd320b51d492e3f2915ffa2536 Mon Sep 17 00:00:00 2001 From: sanguu Date: Thu, 25 Aug 2022 16:08:13 +0900 Subject: [PATCH] =?UTF-8?q?css(=EC=A7=80=EC=9D=80=EB=8C=80=EB=A6=AC?= =?UTF-8?q?=EB=8B=98)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../basis/flight/plan/FlightPlanForm.js | 87 +++++++++---------- 1 file changed, 43 insertions(+), 44 deletions(-) diff --git a/src/components/basis/flight/plan/FlightPlanForm.js b/src/components/basis/flight/plan/FlightPlanForm.js index 3c822571..33c3d051 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 + > + + 삭제 + + + ) + : + ( + <> + ) + } ) }