|
|
|
@ -646,7 +646,8 @@ const PilotForm = ({data, handleChange, index, handleDeleteArray}) => {
|
|
|
|
|
/> |
|
|
|
|
</FormGroup> |
|
|
|
|
</Col> |
|
|
|
|
{index !== 0 ? |
|
|
|
|
{data.groupNm? |
|
|
|
|
( |
|
|
|
|
<Col className='count-del-btn' xs={12} md={2} xl={2} > |
|
|
|
|
<Button.Ripple |
|
|
|
|
color='danger' |
|
|
|
@ -660,20 +661,11 @@ const PilotForm = ({data, handleChange, index, handleDeleteArray}) => {
|
|
|
|
|
<span>삭제</span> |
|
|
|
|
</Button.Ripple> |
|
|
|
|
</Col> |
|
|
|
|
) |
|
|
|
|
: |
|
|
|
|
<Col className='count-del-btn' xs={12} md={2} xl={2} > |
|
|
|
|
<Button.Ripple |
|
|
|
|
color='danger' |
|
|
|
|
className='text-nowrap px-1' |
|
|
|
|
onClick={() => |
|
|
|
|
handleDeleteArray({ type: 'pilot', index }) |
|
|
|
|
} |
|
|
|
|
outline |
|
|
|
|
> |
|
|
|
|
<X size={14} className='mr-50' /> |
|
|
|
|
<span>삭제</span> |
|
|
|
|
</Button.Ripple> |
|
|
|
|
</Col> |
|
|
|
|
( |
|
|
|
|
<></> |
|
|
|
|
) |
|
|
|
|
} |
|
|
|
|
</Row> |
|
|
|
|
</div>) |
|
|
|
@ -787,7 +779,8 @@ const ArcrftForm = ({data, handleChange, index, handleDeleteArray}) => {
|
|
|
|
|
/> |
|
|
|
|
</FormGroup> |
|
|
|
|
</Col> |
|
|
|
|
{index !== 0 ? |
|
|
|
|
{/* {index !== 0 ? |
|
|
|
|
( |
|
|
|
|
<Col className='count-del-btn' xs={12} md={2} xl={2} > |
|
|
|
|
<Button.Ripple |
|
|
|
|
color='danger' |
|
|
|
@ -801,13 +794,18 @@ const ArcrftForm = ({data, handleChange, index, handleDeleteArray}) => {
|
|
|
|
|
<span>삭제</span> |
|
|
|
|
</Button.Ripple> |
|
|
|
|
</Col> |
|
|
|
|
) |
|
|
|
|
: |
|
|
|
|
<></> |
|
|
|
|
} */} |
|
|
|
|
{data.groupNm? |
|
|
|
|
( |
|
|
|
|
<Col className='count-del-btn' xs={12} md={2} xl={2} > |
|
|
|
|
<Button.Ripple |
|
|
|
|
color='danger' |
|
|
|
|
className='text-nowrap px-1' |
|
|
|
|
onClick={() => |
|
|
|
|
handleDeleteArray({ type: 'pilot', index }) |
|
|
|
|
handleDeleteArray({ type: 'arcrft', index }) |
|
|
|
|
} |
|
|
|
|
outline |
|
|
|
|
> |
|
|
|
@ -815,7 +813,13 @@ const ArcrftForm = ({data, handleChange, index, handleDeleteArray}) => {
|
|
|
|
|
<span>삭제</span> |
|
|
|
|
</Button.Ripple> |
|
|
|
|
</Col> |
|
|
|
|
) |
|
|
|
|
: |
|
|
|
|
( |
|
|
|
|
<></> |
|
|
|
|
) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
</Row> |
|
|
|
|
</div>) |
|
|
|
|
} |
|
|
|
|