Release 2.6.8

This commit is contained in:
2026-08-08 13:18:52 +01:00
parent 7e46fffc34
commit 4e5a1bc393
5 changed files with 193 additions and 4 deletions
@@ -114,6 +114,7 @@
}
var selectedSlug = String(select.value || '').trim();
var hasSelectedGroup = Boolean(selectedSlug);
var actionTarget = '/clients/' + encodeURIComponent(selectedSlug || '__all__') + '/commands';
var selectedName = getSelectedScreenLabel();
var selectedClients = getSelectedScreenClients(latestDashboardState);
@@ -134,6 +135,10 @@
var action = String(form.getAttribute('data-screen-command-action') || '').trim();
var button = form.querySelector('button[type="submit"]');
if (button) {
button.disabled = !hasSelectedGroup;
}
if (action === 'pause' || action === 'blackout') {
updateToggleButton(button, form, latestDashboardState);
return;