From 54b25c160dccc9f74b01418838392864d65e1075 Mon Sep 17 00:00:00 2001 From: Anwar khanfir Date: Tue, 15 Oct 2024 15:24:01 +0100 Subject: [PATCH] fix: Bad display after deleting a task - EXO-46811 -Meeds-io/meeds#2497. Before this change, when creates a task in Task's project and deletes it, the deleted task drawer is still displayed. After this change, The drawer is automatically closed. --- .../src/main/webapp/vue-app/taskDrawer/components/TaskDrawer.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/webapps/src/main/webapp/vue-app/taskDrawer/components/TaskDrawer.vue b/webapps/src/main/webapp/vue-app/taskDrawer/components/TaskDrawer.vue index a35c5dcc2..e00ec9f87 100644 --- a/webapps/src/main/webapp/vue-app/taskDrawer/components/TaskDrawer.vue +++ b/webapps/src/main/webapp/vue-app/taskDrawer/components/TaskDrawer.vue @@ -782,6 +782,7 @@ export default { document.dispatchEvent(new CustomEvent('deleteTask', { detail: this.task.id })); + this.$refs.addTaskDrawer.close(); }).catch(e => { console.error('Error when deleting task', e); this.$root.$emit('show-alert', {