diff --git a/client/src/mixins/update-selected-class.js b/client/src/mixins/update-selected-class.js index 6af623a9..4ab9a2c2 100644 --- a/client/src/mixins/update-selected-class.js +++ b/client/src/mixins/update-selected-class.js @@ -32,9 +32,10 @@ export default { store.writeQuery({query: ME_QUERY, data}); - innerApollo.mutate({ - mutation: DELETE_MODULE_NODES - }); + // todo: still needed for anything? asking chrigu @05.09.22, but commenting it for bugfix + // innerApollo.mutate({ + // mutation: DELETE_MODULE_NODES + // }); }, refetchQueries: [{ query: MY_SCHOOL_CLASS_QUERY diff --git a/client/src/pages/module/module.vue b/client/src/pages/module/module.vue index f344722e..070ea491 100644 --- a/client/src/pages/module/module.vue +++ b/client/src/pages/module/module.vue @@ -37,7 +37,7 @@ }, beforeRouteLeave(to, from, next) { - // toggle edit mode if leavind the module subtree + // toggle edit mode if leaving the module subtree if(this.module.inEditMode && to.path.indexOf('/module/') === -1) { setModuleEditMode(this.module.slug, false); }