Edit: editMode check before toggle

This commit is contained in:
Patrick Hafner 2021-12-21 03:55:25 +01:00
parent 2c2a824f97
commit 3a12e209da

View File

@ -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;
}
},
}