fix(project): 새 프로젝트 생성 모달에서 시작일 필드 삭제

프로젝트 생성 폼(project.html/mytasks.html 공용)에서 시작일 입력칸을
없애고 마감일만 남겼다. JS 저장 로직도 start_date 전송/초기화를 뺐다
(프로젝트 수정 모달은 범위 밖이라 그대로 둠).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-22 17:35:51 +09:00
parent 933e1cd460
commit 5a6cc42ee9
4 changed files with 9 additions and 16 deletions
+1 -2
View File
@@ -303,7 +303,6 @@
const res = await api("POST", "/project/api/projects", {
name: name,
description: el("pj-f-desc").value.trim(),
start_date: el("pj-f-start").value || null,
due_date: el("pj-f-due").value || null,
color: getColor(),
});
@@ -314,7 +313,7 @@
}
closeModal(modal);
el("pj-f-name").value = ""; el("pj-f-desc").value = "";
el("pj-f-start").value = ""; el("pj-f-due").value = "";
el("pj-f-due").value = "";
if (onCreated) onCreated(res.project);
} catch (e) { showToast("생성 실패: " + e.message, "error"); }
});