mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-28 09:14:05 +00:00
Edit: editMode check before toggle
This commit is contained in:
parent
2c2a824f97
commit
3a12e209da
1 changed files with 4 additions and 2 deletions
|
@ -602,8 +602,10 @@ export default {
|
||||||
|
|
||||||
/** customize status page */
|
/** customize status page */
|
||||||
customizeStatusPage() {
|
customizeStatusPage() {
|
||||||
// toggle modal
|
if (this.editMode) {
|
||||||
this.enableEditCustomizeMode = !this.enableEditCustomizeMode;
|
// toggle modal
|
||||||
|
this.enableEditCustomizeMode = !this.enableEditCustomizeMode;
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue