Add autostart toggle button to dashboard target items

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-26 00:43:13 +03:00
parent f0e8f0ef33
commit 3bfa9062f9
3 changed files with 53 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ import {
} from './features/devices.js';
import {
loadDashboard, stopUptimeTimer,
dashboardToggleProfile, dashboardStartTarget, dashboardStopTarget, dashboardStopAll,
dashboardToggleProfile, dashboardStartTarget, dashboardStopTarget, dashboardToggleAutoStart, dashboardStopAll,
toggleDashboardSection, changeDashboardPollInterval,
} from './features/dashboard.js';
import { startEventsWS, stopEventsWS } from './core/events-ws.js';
@@ -186,6 +186,7 @@ Object.assign(window, {
dashboardToggleProfile,
dashboardStartTarget,
dashboardStopTarget,
dashboardToggleAutoStart,
dashboardStopAll,
toggleDashboardSection,
changeDashboardPollInterval,