Skip to content

Commit

Permalink
FIX: 게시판 사용 관리 오류 수정
Browse files Browse the repository at this point in the history
등록시에만 커뮤니티명 validation Check 하도록 수정
  • Loading branch information
DavidEugen committed Feb 23, 2022
1 parent 903c61f commit 7e3c2db
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/egov/admin/usage/EgovAdminUsageEdit.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,11 @@ function EgovAdminUsageEdit(props) {
alert("게시판명은 필수 값입니다.");
return false;
}
if (formData.get('trgetType') === null || formData.get('trgetType') === "") {
alert("커뮤니티/동호회명은 필수 값입니다.");
return false;
if (modeInfo.mode === CODE.MODE_CREATE) {
if (formData.get('trgetType') === null || formData.get('trgetType') === "") {
alert("커뮤니티/동호회명은 필수 값입니다.");
return false;
}
}
return true;
}
Expand Down

0 comments on commit 7e3c2db

Please sign in to comment.