Skip to content

Commit

Permalink
Fix empty subcategory on embed view (#782)
Browse files Browse the repository at this point in the history
Signed-off-by: Cintia Sánchez García <[email protected]>
  • Loading branch information
cynthia-sg authored Jan 13, 2025
1 parent 165f711 commit 7f60c8b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ui/embed/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,10 @@ const App = () => {
})
);

if (items.length === 0) {
return null;
}

return (
<>
<Subtitle
Expand Down

0 comments on commit 7f60c8b

Please sign in to comment.