mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02: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 (
|
return (
|
||||||
<span>
|
<span>
|
||||||
|
Reference in New Issue
Block a user