From 146a6b7cd5ac8df20fdfed3ed8c0403a6222521e Mon Sep 17 00:00:00 2001 From: iris Date: Mon, 1 Jun 2026 23:13:50 +0200 Subject: [PATCH] chore: replaceChildren + http case in flow.js and logs.js Same cleanup as the previous pass (tabs.js, app.js): replace innerHTML = '' with replaceChildren() and lowercase the one uppercase 'HTTP' error in logs.js. --- frontend/packages/dashboard/src/flow.js | 6 +++--- frontend/packages/dashboard/src/logs.js | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/frontend/packages/dashboard/src/flow.js b/frontend/packages/dashboard/src/flow.js index 71267770..b52ab2fa 100644 --- a/frontend/packages/dashboard/src/flow.js +++ b/frontend/packages/dashboard/src/flow.js @@ -101,7 +101,7 @@ import { (() => { const flow = $('msgflow'); if (!flow) return; - flow.innerHTML = ''; + flow.replaceChildren(); const tsFmt = (n) => new Date(n * 1000).toISOString().slice(11, 19); // Pulse the page banner whenever a broker event lands. The // `.banner` element lives in the dashboard's