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

This commit is contained in:
kolaente 2024-09-19 08:59:34 +02:00
parent c5b82fc591
commit c84b50b3ee
Signed by: konrad
GPG Key ID: F40E70337AB24C9B

@ -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
}