Edit: editMode check before toggle

pull/1083/head
Patrick Hafner 3 years ago
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…
Cancel
Save