|
|
@ -18,12 +18,14 @@ class UpdateChanges extends Component {
|
|
|
|
return null;
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const uniqueChanges = [...new Set(changes)];
|
|
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<div className={styles.title}>{title}</div>
|
|
|
|
<div className={styles.title}>{title}</div>
|
|
|
|
<ul>
|
|
|
|
<ul>
|
|
|
|
{
|
|
|
|
{
|
|
|
|
changes.map((change, index) => {
|
|
|
|
uniqueChanges.map((change, index) => {
|
|
|
|
const checkChange = change.replace(/#\d{3,5}\b/g, (match, contents) => {
|
|
|
|
const checkChange = change.replace(/#\d{3,5}\b/g, (match, contents) => {
|
|
|
|
return `[${match}](https://github.com/Prowlarr/Prowlarr/issues/${match.substring(1)})`;
|
|
|
|
return `[${match}](https://github.com/Prowlarr/Prowlarr/issues/${match.substring(1)})`;
|
|
|
|
});
|
|
|
|
});
|
|
|
|