chmod: 빗물, 중수도, 온배수 시설 등록 페이지 시군구 표기 수정 ("-" -> " ")

This commit is contained in:
swcho
2025-11-03 15:21:46 +09:00
parent e111fab241
commit d9a1e235fb
3 changed files with 4 additions and 3 deletions
@@ -67,7 +67,7 @@ export default function Home() {
...item,
archArea: archArea,
cityText: item.ctpvCd === 0 ? "세종특별자치시" : (item as any).cityText,
sggText: (item as any).sggText === "없음" ? "-" : (item as any).sggText,
sggText: (item as any).sggText === "없음" ? " " : (item as any).sggText,
};
}
);
@@ -79,10 +79,11 @@ export default function Home() {
bdstChgYn: item.chgBuilding[0]?.bdstChgNm != null ? "Y" : "N",
frstArchPrmsnDt: item?.frstArchPrmsnDt || "확인불가",
cityText: item.ctpvCd === 0 ? "세종특별자치시" : (item as any).cityText,
sggText: (item as any).sggText === "없음" ? "-" : (item as any).sggText,
sggText: (item as any).sggText === "없음" ? " " : (item as any).sggText,
};
}
);
console.log("rainData", rainData);
setbdstTable(rainData);
} else {
setbdstTable([]);
@@ -81,7 +81,7 @@ export default function Home() {
bdstChgYn: item.chgBuilding[0]?.bdstChgNm != null ? "Y" : "N",
bdstUsgCd: item.reuseBuilding[0]?.bdstUsgCd,
cityText: item.ctpvCd === 0 ? "세종특별자치시" : (item as any).cityText,
sggText: (item as any).sggText === "없음" ? "-" : (item as any).sggText,
sggText: (item as any).sggText === "없음" ? " " : (item as any).sggText,
};
}
);