diff --git a/frontend/index.html b/frontend/index.html index e704219..64277bd 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -53,7 +53,7 @@
-

Incoming Calls Call-in page

+

Incoming Calls

No callers waiting
@@ -207,6 +207,6 @@ - + diff --git a/frontend/js/app.js b/frontend/js/app.js index 8806571..395e098 100644 --- a/frontend/js/app.js +++ b/frontend/js/app.js @@ -878,7 +878,7 @@ function renderQueue(queue) { const waitStr = mins > 0 ? `${mins}m ${secs}s` : `${secs}s`; return `
- ${caller.name} + ${caller.phone} waiting ${waitStr} @@ -893,7 +893,7 @@ async function takeCall(callerId) { const data = await res.json(); if (data.status === 'on_air') { showRealCaller(data.caller); - log(`${data.caller.name} is on air — Channel ${data.caller.channel}`); + log(`${data.caller.phone} is on air — Channel ${data.caller.channel}`); } } catch (err) { log('Failed to take call: ' + err.message); @@ -936,7 +936,7 @@ function updateActiveCallIndicator() { function showRealCaller(callerInfo) { const nameEl = document.getElementById('real-caller-name'); const chEl = document.getElementById('real-caller-channel'); - if (nameEl) nameEl.textContent = callerInfo.name; + if (nameEl) nameEl.textContent = callerInfo.phone; if (chEl) chEl.textContent = `Ch ${callerInfo.channel}`; document.getElementById('real-caller-info')?.classList.remove('hidden');