mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 07:25:44 +01:00
Compute trailers in changeset pre processing
Doing so, the trailers are available for other plugins inspecting changesets, not only for the frontend.
This commit is contained in:
@@ -53,7 +53,7 @@ class ChangesetAuthor extends React.Component<Props> {
|
||||
}
|
||||
|
||||
getCoAuthorsFromChangeset() {
|
||||
return this.props.changeset.trailerPersons.filter(p => p.trailerType === "Co-authored-by");
|
||||
return this.props.changeset.trailers.filter(p => p.trailerType === "Co-authored-by").map(trailer => trailer.person);
|
||||
}
|
||||
|
||||
renderCoAuthors() {
|
||||
|
||||
Reference in New Issue
Block a user