This commit is contained in:
2025-11-14 15:14:48 +01:00
parent c2b7328219
commit 6152385339

View File

@@ -1801,11 +1801,11 @@
if (scenes.length === 0) {
container.innerHTML = '<p style="color: #666;">Keine Szenen konfiguriert.</p>';
countSpan.textContent = '0 Szenen';
countSpan.textContent = '';
return;
}
countSpan.textContent = `${scenes.length} ${scenes.length === 1 ? 'Szene' : 'Szenen'}`;
countSpan.textContent = '';
container.innerHTML = scenes.map(scene => `
<button class="scene-button" onclick="runScene('${scene.id}', this)">