diff --git a/src/js/components/kanban/KanbanBoard.vue b/src/js/components/kanban/KanbanBoard.vue index 67ccb151c..a9770e83b 100644 --- a/src/js/components/kanban/KanbanBoard.vue +++ b/src/js/components/kanban/KanbanBoard.vue @@ -102,7 +102,7 @@ export default { window.addEventListener("resize", this.resizeProcedure); window.addEventListener("scroll", this.scrollProcedure); }, - destroyed() { + unmounted() { window.removeEventListener("resize", this.resizeProcedure); window.removeEventListener("scroll", this.scrollProcedure); },