[fix](trx-frontend-http): use display names in header rig picker

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Stan Grams <sjg@haxx.space>
This commit is contained in:
2026-03-24 21:04:15 +01:00
parent eb798ad79f
commit e52d276198
@@ -930,7 +930,7 @@ function populateRigPicker(selectEl, rigIds, activeRigId, disabled) {
rigIds.forEach((id) => { rigIds.forEach((id) => {
const opt = document.createElement("option"); const opt = document.createElement("option");
opt.value = id; opt.value = id;
opt.textContent = id; opt.textContent = lastRigDisplayNames[id] || id;
selectEl.appendChild(opt); selectEl.appendChild(opt);
}); });
const preferred = (typeof activeRigId === "string" && rigIds.includes(activeRigId)) const preferred = (typeof activeRigId === "string" && rigIds.includes(activeRigId))