Browse Source

Merge branch 'master' of http://gitea.palntour.com/pav/pav-home

feature/auth
sanguu 2 years ago
parent
commit
ea99b9fae9
  1. 6
      src/components/basis/flight/plan/FlightPlanAreaDetailForm.js

6
src/components/basis/flight/plan/FlightPlanAreaDetailForm.js

@ -94,7 +94,7 @@ const FlightPlanAreaDetailForm = ({ handleSave, handleClose, handleChange, handl
readOnly={coordList[0].lat && (data[0].areaType && data[0].areaType != ("POLYGON")) ? false : true }
placeholder='반경'
value={data ? data[0].bufferZone : ''}
value={data[0].bufferZone ? data[0].bufferZone : ''}
onChange={(e) => {
const {name, value} = e.target;
handleChange({
@ -130,7 +130,7 @@ const FlightPlanAreaDetailForm = ({ handleSave, handleClose, handleChange, handl
name='fltElev'
bsSize='sm'
placeholder='고도'
value={data ? data[0].fltElev : ''}
value={data[0].fltElev ? data[0].fltElev : ''}
onChange={(e) => {
const {name, value} = e.target;
handleChange({
@ -154,7 +154,7 @@ const FlightPlanAreaDetailForm = ({ handleSave, handleClose, handleChange, handl
name='fltMethod'
bsSize='sm'
placeholder='비행 방식'
value={data ? data[0].fltMethod : ''}
value={data[0].fltMethod ? data[0].fltMethod : ''}
onChange={(e) => {
const {name, value} = e.target;
handleChange({

Loading…
Cancel
Save