fix(ui): saveSchedule nutzt SCREEN_SLUG statt printf %q
This commit is contained in:
parent
e7776720c8
commit
88e10d1e67
1 changed files with 1 additions and 1 deletions
|
|
@ -1162,7 +1162,7 @@ function sendDisplayCmd(state) {
|
|||
|
||||
// ─── Schedule control ────────────────────────────────────────────────────────
|
||||
function saveSchedule() {
|
||||
var slug = {{.Screen.Slug | printf "%q"}};
|
||||
var slug = SCREEN_SLUG;
|
||||
var enabled = document.getElementById('schedule-enabled').checked;
|
||||
var onTime = document.getElementById('power-on-time').value;
|
||||
var offTime = document.getElementById('power-off-time').value;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue