From 8827131264c3b68a1191c0fa292c6baaa57d32ac Mon Sep 17 00:00:00 2001 From: Stan Grams Date: Sat, 28 Feb 2026 15:11:29 +0100 Subject: [PATCH] [fix](trx-frontend-http): copy formatted rds ps text Co-authored-by: Codex Signed-off-by: Stan Grams --- .../trx-frontend/trx-frontend-http/assets/web/app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/trx-client/trx-frontend/trx-frontend-http/assets/web/app.js b/src/trx-client/trx-frontend/trx-frontend-http/assets/web/app.js index 6f62e6a..e0272fd 100644 --- a/src/trx-client/trx-frontend/trx-frontend-http/assets/web/app.js +++ b/src/trx-client/trx-frontend/trx-frontend-http/assets/web/app.js @@ -3244,7 +3244,8 @@ async function copyRdsPsToClipboard() { const piHex = rds.pi != null ? `0x${rds.pi.toString(16).toUpperCase().padStart(4, "0")}` : "--"; - const clipText = `${yyyy}-${mm}-${dd} ${hh}:${min} - ${freqMhz} MHz - ${piHex} - ${ps}`; + const clipPs = formatOverlayPs(ps); + const clipText = `${yyyy}-${mm}-${dd} ${hh}:${min} - ${freqMhz} MHz - ${piHex} - ${clipPs}`; try { await navigator.clipboard.writeText(clipText); showHint("RDS copied", 1200);