fix 8
This commit is contained in:
@@ -1801,11 +1801,11 @@
|
|||||||
|
|
||||||
if (scenes.length === 0) {
|
if (scenes.length === 0) {
|
||||||
container.innerHTML = '<p style="color: #666;">Keine Szenen konfiguriert.</p>';
|
container.innerHTML = '<p style="color: #666;">Keine Szenen konfiguriert.</p>';
|
||||||
countSpan.textContent = '0 Szenen';
|
countSpan.textContent = '';
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
countSpan.textContent = `${scenes.length} ${scenes.length === 1 ? 'Szene' : 'Szenen'}`;
|
countSpan.textContent = '';
|
||||||
|
|
||||||
container.innerHTML = scenes.map(scene => `
|
container.innerHTML = scenes.map(scene => `
|
||||||
<button class="scene-button" onclick="runScene('${scene.id}', this)">
|
<button class="scene-button" onclick="runScene('${scene.id}', this)">
|
||||||
|
|||||||
Reference in New Issue
Block a user