mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-21 22:18:16 +08:00
small fixes
This commit is contained in:
@@ -260,6 +260,11 @@ export default {
|
||||
return this.processing = false;
|
||||
}
|
||||
|
||||
if (this.maintenance.start_date >= this.maintenance.end_date) {
|
||||
toast.error(this.$t("maintenanceInvalidDate"));
|
||||
return this.processing = false;
|
||||
}
|
||||
|
||||
if (!this.showOnAllPages && this.selectedStatusPages.length === 0) {
|
||||
toast.error(this.$t("atLeastOneStatusPage"));
|
||||
return this.processing = false;
|
||||
|
Reference in New Issue
Block a user