mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-18 21:55:12 -04:00
Fixed: Duplicate capabilities cause JS error
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user