From 9775dca1142698a997b9dcc0eba2574fb2f3a1a7 Mon Sep 17 00:00:00 2001 From: serversdown Date: Thu, 14 May 2026 18:00:38 +0000 Subject: [PATCH] fix(event-modal): update user notes rendering to align with SFM API naming --- backend/static/event-modal.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/backend/static/event-modal.js b/backend/static/event-modal.js index cf32f7f..b41d961 100644 --- a/backend/static/event-modal.js +++ b/backend/static/event-modal.js @@ -109,7 +109,10 @@ function _renderUserNotes(s) { // The "user notes" metadata the operator typed into the BW device. // These are the strings the future metadata-driven parser will use. - const p = s.user_notes || {}; + // NOTE: SFM's sidecar JSON still names this block `project_info` — + // we render it as "User Notes" (the actual BW term) but read the + // field by its SFM-API name. Rename in SFM is a future cleanup. + const p = s.project_info || {}; return `
Project ${_esc(p.project || '—')}
Client ${_esc(p.client || '—')}