Skip to content

Commit

Permalink
fix: make search case-insensitive.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixmosh committed Oct 2, 2022
1 parent f6c9345 commit 48d10da
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 @@ -36,7 +36,7 @@ export const Menu = ({
{!!queues && (
<ul className={s.menu}>
{queues
.filter(({ name }) => name?.toLowerCase().includes(searchTerm?.toUpperCase()))
.filter(({ name }) => name?.toLowerCase().includes(searchTerm?.toLowerCase()))
.map(({ name: queueName, isPaused }) => (
<li key={queueName}>
<NavLink
Expand Down

0 comments on commit 48d10da

Please sign in to comment.