fix(labels): trigger task updated for bulk label task update
This commit is contained in:
parent
c5b82fc591
commit
c84b50b3ee
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user