mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-21 23:07:04 +08:00
[Status Page] Enable Edit Mode only if the token is presented
This commit is contained in:
@@ -498,9 +498,11 @@ export default {
|
||||
},
|
||||
|
||||
edit() {
|
||||
this.$root.initSocketIO(true);
|
||||
this.enableEditMode = true;
|
||||
this.clickedEditButton = true;
|
||||
if (this.hasToken) {
|
||||
this.$root.initSocketIO(true);
|
||||
this.enableEditMode = true;
|
||||
this.clickedEditButton = true;
|
||||
}
|
||||
},
|
||||
|
||||
save() {
|
||||
|
Reference in New Issue
Block a user