mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-04-11 10:52:20 +00:00
Fixed typo in maintenance.js
This commit is contained in:
parent
89376b7b7c
commit
bd417fd110
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ class Maintenance extends BeanModel {
|
|||
bean.timezone = obj.timezoneOption;
|
||||
bean.active = obj.active;
|
||||
|
||||
if (obj.dateRange){
|
||||
if (obj.dateRange) {
|
||||
if (obj.dateRange[0]) {
|
||||
bean.start_date = obj.dateRange[0];
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue