Fixed typo in maintenance.js

This commit is contained in:
akaBilih 2025-03-16 19:50:53 +01:00 committed by GitHub
parent 89376b7b7c
commit bd417fd110
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 {