diff --git a/frontend/src/Search/Table/CategoryLabel.js b/frontend/src/Search/Table/CategoryLabel.js index bdcbc0038..b2841f4c9 100644 --- a/frontend/src/Search/Table/CategoryLabel.js +++ b/frontend/src/Search/Table/CategoryLabel.js @@ -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 (