mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-10-01 01:25:45 -04:00
Edit: editMode check before toggle
This commit is contained in:
parent
2c2a824f97
commit
3a12e209da
@ -602,8 +602,10 @@ export default {
|
||||
|
||||
/** customize status page */
|
||||
customizeStatusPage() {
|
||||
// toggle modal
|
||||
this.enableEditCustomizeMode = !this.enableEditCustomizeMode;
|
||||
if (this.editMode) {
|
||||
// toggle modal
|
||||
this.enableEditCustomizeMode = !this.enableEditCustomizeMode;
|
||||
}
|
||||
},
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user