From aa8454b73f0627f156f77ad5c8470c0dd4e267c3 Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Mon, 8 May 2023 04:14:24 +0800 Subject: [PATCH] Slightly improve error check on maintenance edit page --- src/pages/EditMaintenance.vue | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/pages/EditMaintenance.vue b/src/pages/EditMaintenance.vue index eb9ef7fd..493005a8 100644 --- a/src/pages/EditMaintenance.vue +++ b/src/pages/EditMaintenance.vue @@ -218,17 +218,17 @@
- +
{{ $t("startDateTime") }}
- +
{{ $t("endDateTime") }}
- +
@@ -272,7 +272,6 @@ export default { selectedStatusPages: [], dark: (this.$root.theme === "dark"), neverEnd: false, - minDate: this.$root.date(dayjs()) + " 00:00", lastDays: [ { langKey: "lastDay1", @@ -411,7 +410,7 @@ export default { cron: "30 3 * * *", durationMinutes: 60, intervalDay: 1, - dateRange: [ this.minDate ], + dateRange: [], timeRange: [{ hours: 2, minutes: 0,