diff --git a/frontend/main.ts b/frontend/main.ts index e66a2e6..c47ab54 100644 --- a/frontend/main.ts +++ b/frontend/main.ts @@ -198,7 +198,7 @@ function initNewChoice(select: HTMLInputElement) { const name = event.detail.label; if (event.detail.customProperties.is_cox) { - const coxSelect = document.querySelector('#cox'); + const coxSelect = document.querySelector('#shipmaster'); if (coxSelect){ coxSelect.add(new Option(name, user_id)); } @@ -215,7 +215,7 @@ function initNewChoice(select: HTMLInputElement) { const user_id = event.detail.value; - const coxSelect = document.querySelector('#cox'); + const coxSelect = document.querySelector('#shipmaster'); if (coxSelect) { for (var i=0; i