Browse Source

고도값 조건문 변경

pull/2/head
박상현 10 months ago
parent
commit
894db9ecf2
  1. 6
      src/components/laanc/step/LaancStep1.js

6
src/components/laanc/step/LaancStep1.js

@ -193,14 +193,14 @@ export default function LaancStep1({
} }
if ( if (
!laancArea?.duplicated && !laancArea?.duplicated &&
parseInt(value.replace('/^0+/', 'm', ''), 10) < maxElev parseInt(value.replace('/^0+/', 'm', ''), 10) <= maxElev
) { ) {
setIsErrorModal({ setIsErrorModal({
isOpen: true, isOpen: true,
title: '고도 재설정 알림', title: '고도 재설정 알림',
desc: ( desc: (
<> <>
관제권 비행금지 공역을 제외한 지역에서는 주간에 150m미만의 관제권 비행금지 공역을 제외한 지역에서는 주간에 150m이하
<br /> <br />
고도에서는 비행승인없이 비행가능합니다. 고도에서는 비행승인없이 비행가능합니다.
</> </>
@ -229,7 +229,7 @@ export default function LaancStep1({
}); });
} }
case 'fltMethod': case 'fltMethod':
if (value === '군집비행') { if (value === '10') {
handleChange({ handleChange({
type: 'area', type: 'area',
name: 'fltMethod', name: 'fltMethod',

Loading…
Cancel
Save