Remove unused variable
This commit is contained in:
parent
0bfc4f9bcb
commit
973fef379d
|
|
@ -37,7 +37,7 @@ export default {
|
|||
};
|
||||
},
|
||||
|
||||
beforeRouteLeave(to, from, next) {
|
||||
beforeRouteLeave(to, _, next) {
|
||||
// toggle edit mode if leaving the module subtree
|
||||
if (this.module.inEditMode && to.path.indexOf('/module/') === -1) {
|
||||
setModuleEditMode(this.module.slug, false);
|
||||
|
|
|
|||
Loading…
Reference in New Issue