mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-11 20:58:31 +08:00
Fix #1409, slug cannot be empty
This commit is contained in:
@@ -518,6 +518,7 @@ export default {
|
||||
|
||||
save() {
|
||||
let startTime = new Date();
|
||||
this.config.slug = this.config.slug.trim().toLowerCase();
|
||||
|
||||
this.$root.getSocket().emit("saveStatusPage", this.slug, this.config, this.imgDataUrl, this.$root.publicGroupList, (res) => {
|
||||
if (res.ok) {
|
||||
|
Reference in New Issue
Block a user