From d54270e3c07866aa4ad107917216881bcbb93a0a Mon Sep 17 00:00:00 2001 From: Amith Bino Date: Mon, 2 Oct 2023 16:00:18 +0530 Subject: [PATCH] fix-deprecated lifecycle hooks --- src/js/components/kanban/KanbanBoard.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); },