diff --git a/app/src/plugins/tm@modal/master-task/z-master-task-modal.vue b/app/src/plugins/tm@modal/master-task/z-master-task-modal.vue index f67c92f..6067912 100644 --- a/app/src/plugins/tm@modal/master-task/z-master-task-modal.vue +++ b/app/src/plugins/tm@modal/master-task/z-master-task-modal.vue @@ -181,7 +181,7 @@ export default { mounted() { this.$events.on('master-task:team-member-deleted', ({ teamId, memberId }) => { - if (this.mastertask?.team_id != teamId) + if (this.mastertask.team_id != teamId) return this.mastertask.employees = this.mastertask.employees.filter(employee => employee.id != memberId)