From aa314f82c9d42a76649127782f333cc51b65f9f8 Mon Sep 17 00:00:00 2001 From: CDrummond Date: Sat, 30 Mar 2024 08:51:13 +0000 Subject: [PATCH] Fix setting alarmTime --- MaterialSkin/HTML/material/html/js/screensaver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MaterialSkin/HTML/material/html/js/screensaver.js b/MaterialSkin/HTML/material/html/js/screensaver.js index 86ef9a070..0b69f75c1 100644 --- a/MaterialSkin/HTML/material/html/js/screensaver.js +++ b/MaterialSkin/HTML/material/html/js/screensaver.js @@ -125,8 +125,8 @@ Vue.component('lms-screensaver', { let alarmDate = new Date(status.alarm*1000); this.alarm = dateStr(alarmDate, this.$store.state.lang)+" "+timeStr(alarmDate, this.$store.state.lang); } + this.alarmTime=status.alarm; } - this.alarmTime!=status.alarm; }, cancelAll(doFade) { if (undefined!==this.showTimer) {