소스 검색

submission issue display update

CR013B2
Jason Chuang 2 달 전
부모
커밋
b14fe00338
1개의 변경된 파일15개의 추가작업 그리고 12개의 파일을 삭제
  1. +15
    -12
      src/pages/PublicNotice/ApplyForm/index.js

+ 15
- 12
src/pages/PublicNotice/ApplyForm/index.js 파일 보기

@@ -67,18 +67,21 @@ const ApplyForm = () => {
);

if (allTrue){
// either way, always render all issues
const selection = issueList.map((data) => (
<FormControlLabel
key={data.id}
value={data.id}
control={<Radio />}
label={getIssueLabel(data)}
/>
));
setGazetteIssueList(issueList);
setSelection(selection);
if (checkIsOnlyOnlinePayment()) {
const selection = issueList.map((data) => (
<FormControlLabel
key={data.id}
value={data.id}
control={<Radio />}
label={getIssueLabel(data)}
/>
));
setGazetteIssueList(issueList);
setSelection(selection);
} else {
//setGazetteIssueList(issueList);
//setSelection([]);
}
} else {
let selection = [];
for (let i = 0; i < response.gazetteIssueList.length; i++) {


불러오는 중...
취소
저장