mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-06 04:52:21 -07: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;
|
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) => {
|
||||||
return (
|
return (
|
||||||
<li key={index}>
|
<li key={index}>
|
||||||
<InlineMarkdown data={change} />
|
<InlineMarkdown data={change} />
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue