Merge pull request 'Buero-Szene: kaputte Referenz auf umbenannte Variable behoben' (#99) from fds2610-bot/monitor:main into main

Reviewed-on: https://codeberg.org/fds2610/monitor/pulls/99
This commit is contained in:
fds2610 2026-09-23 12:55:47 +02:00
commit a62bb384af

View file

@ -997,7 +997,7 @@ function updateAgentsLayer(layer, placements) {
const feet = feetForLocation(agent.location, homeFeet);
const showName = agent.location !== AGENT_LOCATIONS.DESK;
updateAgentAvatarElement(node, agent, feet, showName);
if (id === PO_AGENT_ID || isRealAgent) {
if (id === PO_AGENT_ID || isVoiceBot) {
// updateAgentAvatarElement() setzt class komplett neu (Pose) - ohne diese Zeile
// verloere die Figur ihre Klickbarkeit beim ersten Zustandswechsel.
node.classList.add("clickable");