mirror of
https://github.com/Readarr/Readarr
synced 2026-02-23 07:02:55 +01:00
Add a link to the github issue if it is added to the change notes
Database Migration NO Description Add a link to the github issue if it is added to the change notes
This commit is contained in:
parent
d5199ebcd7
commit
7c662d4628
1 changed files with 5 additions and 1 deletions
|
|
@ -24,9 +24,13 @@ class UpdateChanges extends Component {
|
|||
<ul>
|
||||
{
|
||||
changes.map((change, index) => {
|
||||
const checkChange = change.replace(/#\d{4,5}\b/g, (match, contents) => {
|
||||
return `[${match}](https://github.com/Readarr/Readarr/issues/${match.substring(1)})`;
|
||||
});
|
||||
|
||||
return (
|
||||
<li key={index}>
|
||||
<InlineMarkdown data={change} />
|
||||
<InlineMarkdown data={checkChange} />
|
||||
</li>
|
||||
);
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue