[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:
@@ -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))
|
||||||
|
|||||||
Reference in New Issue
Block a user