fix(B08): 수리 표 초안이 있으면 저장본 대신 — 연결값으로 되돌린 칸이 저장본 손 값에 가려지던 것(96-2)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BVPp2o6Mh2FZJr72yW3ofZ
This commit is contained in:
@@ -99,8 +99,8 @@ export async function renderHydro(host: HTMLElement, projectId: string): Promise
|
||||
...sheet.defaults,
|
||||
...(station.sheet === "pipe" ? {} : sheet.sheet_defaults[station.sheet]),
|
||||
...station.linked,
|
||||
...layer(station, sheet.saved[keyOf(station)]),
|
||||
...layer(station, drafts[keyOf(station)]),
|
||||
// 초안은 측점 입력 통째 — 있으면 저장본 대신(초안의 null = 연결값으로 되돌림)
|
||||
...layer(station, drafts[keyOf(station)] ?? sheet.saved[keyOf(station)]),
|
||||
sheet: station.sheet,
|
||||
}) as HydroInputs;
|
||||
/** 연결값과 같은 칸은 null — 저장 · 초안이 연동을 유지(B05 값이 바뀌면 따라옴) · 다르면 손 값 */
|
||||
|
||||
Reference in New Issue
Block a user