Skip to content

Commit

Permalink
fix: show search only when there are more than 5 queues
Browse files Browse the repository at this point in the history
  • Loading branch information
felixmosh committed Jan 5, 2025
1 parent 404e4ea commit 85cabcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/src/components/Menu/Menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const Menu = () => {
return (
<aside className={s.aside}>
<div className={s.secondary}>{t('MENU.QUEUES')}</div>
{(queues?.length || 0) > 0 && (
{(queues?.length || 0) > 5 && (
<div className={s.searchWrapper}>
<SearchIcon />
<input
Expand Down

0 comments on commit 85cabcb

Please sign in to comment.