mirror of
https://github.com/Prowlarr/Prowlarr
synced 2025-12-06 08:34:28 +01:00
Fixed: Duplicate capabilities cause JS error
This commit is contained in:
parent
1bc000e912
commit
02ad2379a5
1 changed files with 3 additions and 1 deletions
|
|
@ -23,7 +23,9 @@ function CapabilitiesLabel(props: CapabilitiesLabelProps) {
|
|||
);
|
||||
}
|
||||
|
||||
const nameList = filteredList.map((item) => item.name).sort();
|
||||
const nameList = Array.from(
|
||||
new Set(filteredList.map((item) => item.name).sort())
|
||||
);
|
||||
|
||||
return (
|
||||
<span>
|
||||
|
|
|
|||
Loading…
Reference in a new issue