1
0

fix(labels): trigger task updated for bulk label task update

(cherry picked from commit c84b50b3ee793091f5501fa65129c168e728565e)
This commit is contained in:
kolaente 2024-09-19 08:59:34 +02:00
parent 063aa7afec
commit 3398dee481
No known key found for this signature in database
GPG Key ID: F40E70337AB24C9B

View File

@ -396,6 +396,11 @@ func (t *Task) UpdateTaskLabels(s *xorm.Session, creator web.Auth, labels []*Lab
t.Labels = append(t.Labels, label)
}
err = triggerTaskUpdatedEventForTaskID(s, creator, t.ID)
if err != nil {
return
}
err = updateProjectLastUpdated(s, &Project{ID: t.ProjectID})
return
}