mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-18 19:17:59 -04:00
small fixes
This commit is contained in:
parent
ed218e73bb
commit
2fe5c090aa
4 changed files with 8 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue