mirror of
https://github.com/Radarr/Radarr.git
synced 2025-04-23 14:07:20 -04:00
Fixed: Duplicated changelog lines
This commit is contained in:
parent
fa19f45171
commit
b37cc42805
1 changed files with 3 additions and 1 deletions
|
@ -18,12 +18,14 @@ class UpdateChanges extends Component {
|
|||
return null;
|
||||
}
|
||||
|
||||
const uniqueChanges = [...new Set(changes)];
|
||||
|
||||
return (
|
||||
<div>
|
||||
<div className={styles.title}>{title}</div>
|
||||
<ul>
|
||||
{
|
||||
changes.map((change, index) => {
|
||||
uniqueChanges.map((change, index) => {
|
||||
const checkChange = change.replace(/#\d{4,5}\b/g, (match, contents) => {
|
||||
return `[${match}](https://github.com/Radarr/Radarr/issues/${match.substring(1)})`;
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue