Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2667 from jryans/trim-changelog
Browse files Browse the repository at this point in the history
Only show the first line of each commit in changelog dialog
  • Loading branch information
jryans authored Feb 20, 2019
2 parents 6455334 + d68b7c2 commit a29a818
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/views/dialogs/ChangelogDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export default class ChangelogDialog extends React.Component {
return (
<li key={commit.sha} className="mx_ChangelogDialog_li">
<a href={commit.html_url} target="_blank" rel="noopener">
{commit.commit.message}
{commit.commit.message.split('\n')[0]}
</a>
</li>
);
Expand Down

0 comments on commit a29a818

Please sign in to comment.