mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-22 07:42:28 +00:00
Fixed: Duplicated changelog lines
This commit is contained in:
parent
da954dc31e
commit
6673d14edd
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) => {
|
||||
return (
|
||||
<li key={index}>
|
||||
<InlineMarkdown data={change} />
|
||||
|
|
Loading…
Reference in a new issue