From 92a9ee7c6c52024fac8bdb76d857cc674aefa828 Mon Sep 17 00:00:00 2001 From: Marvin Gemlin Date: Wed, 30 Sep 2026 06:34:24 +0000 Subject: [PATCH] =?UTF-8?q?Berater-Popup:=20Kontaktieren=20im=20Titel=20er?= =?UTF-8?q?g=C3=A4nzen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/features/contact/contact-dialog.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/features/contact/contact-dialog.js b/src/features/contact/contact-dialog.js index 0defdee..7297d73 100644 --- a/src/features/contact/contact-dialog.js +++ b/src/features/contact/contact-dialog.js @@ -33,8 +33,10 @@ export function openContactDialog({

`; - dialog.querySelector("#contact-title").textContent = - advisorDisplayName(advisor) || "Berater nicht gefunden"; + const advisorName = advisorDisplayName(advisor); + dialog.querySelector("#contact-title").textContent = advisorName + ? `${advisorName} kontaktieren` + : "Berater nicht gefunden"; dialog.querySelector(".contact-advisor").textContent = advisor ? "Sende deine Kontaktanfrage." : "Die Berater-ID fehlt oder ist unbekannt. Bitte öffne das Fenster über ein Beraterprofil.";