fix(labels): trigger task updated for bulk label task update
(cherry picked from commit c84b50b3ee793091f5501fa65129c168e728565e)
This commit is contained in:
parent
063aa7afec
commit
3398dee481
@ -396,6 +396,11 @@ func (t *Task) UpdateTaskLabels(s *xorm.Session, creator web.Auth, labels []*Lab
|
|||||||
t.Labels = append(t.Labels, label)
|
t.Labels = append(t.Labels, label)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
err = triggerTaskUpdatedEventForTaskID(s, creator, t.ID)
|
||||||
|
if err != nil {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
err = updateProjectLastUpdated(s, &Project{ID: t.ProjectID})
|
err = updateProjectLastUpdated(s, &Project{ID: t.ProjectID})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user