mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-05-05 03:00:21 +02:00
Fix Category Labels
This commit is contained in:
parent
b002a612ec
commit
febdf2a027
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ import React from 'react';
|
||||||
import Label from 'Components/Label';
|
import Label from 'Components/Label';
|
||||||
|
|
||||||
function CategoryLabel({ categories }) {
|
function CategoryLabel({ categories }) {
|
||||||
const sortedCategories = categories.sort((c) => c.id);
|
const sortedCategories = categories.filter((cat) => cat.name !== undefined).sort((c) => c.id);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<span>
|
<span>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue