fix: API 클라이언트 설정 원복 및 빈 테이블명 API 호출 방지
- API 클라이언트를 원래 포트 8080으로 되돌림 - loadEntityDisplayConfig에서 sourceTable/joinTable이 비어있을 때 API 호출 방지 - 불필요한 백엔드 서버 중지
This commit is contained in:
@@ -370,6 +370,12 @@ export const TableListConfigPanel: React.FC<TableListConfigPanelProps> = ({
|
||||
// 이미 로드된 경우 스킵
|
||||
if (entityDisplayConfigs[configKey]) return;
|
||||
|
||||
// sourceTable과 joinTable이 모두 있어야 로드
|
||||
if (!sourceTable || !joinTable) {
|
||||
console.log("⚠️ sourceTable 또는 joinTable이 비어있어서 로드 스킵:", { sourceTable, joinTable });
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
// 기본 테이블과 조인 테이블의 컬럼 정보를 병렬로 로드
|
||||
const [sourceResult, joinResult] = await Promise.all([
|
||||
|
||||
Reference in New Issue
Block a user