1
0
Fork 0
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:
Bogdan 2024-08-18 18:22:08 +03:00
parent da954dc31e
commit 6673d14edd

View file

@ -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} />