diff --git a/web/src/pages/LabDraft.tsx b/web/src/pages/LabDraft.tsx index adfcdaf..83a2940 100644 --- a/web/src/pages/LabDraft.tsx +++ b/web/src/pages/LabDraft.tsx @@ -80,7 +80,18 @@ export function LabDraft() { - + )} diff --git a/web/src/pages/LabDraw.tsx b/web/src/pages/LabDraw.tsx index a9acc90..4e62dc7 100644 --- a/web/src/pages/LabDraw.tsx +++ b/web/src/pages/LabDraw.tsx @@ -17,8 +17,13 @@ export function LabDraw() { setHistory((h) => { const { [key]: _, ...rest } = h; return rest; }); return; } - const h = await api.markerHistory(key); - setHistory((prev) => ({ ...prev, [key]: h })); + try { + const h = await api.markerHistory(key); + setHistory((prev) => ({ ...prev, [key]: h })); + } catch { + // Silently no-op: history is a supplemental, click-to-expand feature — + // a failed fetch should never throw unhandled or break the row. + } }; if (!detail) return
Loading…
;