From 739cd6568125def96f75e39165e583cddee7f587 Mon Sep 17 00:00:00 2001 From: Pierre Marx Date: Fri, 17 Oct 2025 11:34:12 -0400 Subject: [PATCH] =?UTF-8?q?refactor:=20Enlever=20le=20pr=C3=A9fixe=20'Post?= =?UTF-8?q?e'=20de=20l'affichage=20des=20terminaux?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Affichage direct du numéro de terminal sans préfixe - Modifié dans Choices.js et dans les fallbacks natifs - Interface plus épurée et compacte --- renderer.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/renderer.js b/renderer.js index 3f729fe..661ceb0 100644 --- a/renderer.js +++ b/renderer.js @@ -804,7 +804,7 @@ async function loadTerminals() { terminals.forEach(terminal => { choicesData.push({ value: terminal.toString(), - label: `Poste ${terminal}` + label: terminal.toString() // Affichage simple du numéro sans préfixe }); }); } @@ -827,7 +827,7 @@ async function loadTerminals() { terminals.forEach(terminal => { const option = document.createElement('option'); option.value = terminal; - option.textContent = `Poste ${terminal}`; + option.textContent = terminal.toString(); // Affichage simple du numéro sans préfixe terminalSelect.appendChild(option); }); } @@ -903,7 +903,7 @@ async function loadTerminals() { terminals.forEach(terminal => { const option = document.createElement('option'); option.value = terminal; - option.textContent = `Poste ${terminal}`; + option.textContent = terminal.toString(); // Affichage simple du numéro sans préfixe terminalSelect.appendChild(option); }); }