mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-19 11:38:22 -04:00
Fix #1409, slug cannot be empty
This commit is contained in:
parent
6c7a0ff7d3
commit
28d72fcd08
3 changed files with 28 additions and 5 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue