Skip to content

Commit

Permalink
fix: Bad display after deleting a task - EXO-46811 -Meeds-io/meeds#2497
Browse files Browse the repository at this point in the history
Before this change, when creates a task in Task's project and deletes it, the deleted task drawer is still displayed. To resolve this problem, add the closure of this drawer after confirmation of deletion. After this change, The drawer is automatically closed.

(cherry picked from commit 54b25c1)
  • Loading branch information
Jihed525 authored Oct 16, 2024
1 parent 31ebf59 commit b3743cd
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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', {
Expand Down

0 comments on commit b3743cd

Please sign in to comment.