mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fix Category Labels
This commit is contained in:
@@ -3,7 +3,7 @@ import React from 'react';
|
||||
import Label from 'Components/Label';
|
||||
|
||||
function CategoryLabel({ categories }) {
|
||||
const sortedCategories = categories.sort((c) => c.id);
|
||||
const sortedCategories = categories.filter((cat) => cat.name !== undefined).sort((c) => c.id);
|
||||
|
||||
return (
|
||||
<span>
|
||||
|
Reference in New Issue
Block a user