mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-26 08:51:32 +02:00
Merge pull request #2667 from jryans/trim-changelog
Only show the first line of each commit in changelog dialog
This commit is contained in:
commit
a29a8185fc
@ -51,7 +51,7 @@ export default class ChangelogDialog extends React.Component {
|
|||||||
return (
|
return (
|
||||||
<li key={commit.sha} className="mx_ChangelogDialog_li">
|
<li key={commit.sha} className="mx_ChangelogDialog_li">
|
||||||
<a href={commit.html_url} target="_blank" rel="noopener">
|
<a href={commit.html_url} target="_blank" rel="noopener">
|
||||||
{commit.commit.message}
|
{commit.commit.message.split('\n')[0]}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user