Case insensitive subscription filter
This commit is contained in:
parent
fc99d85efc
commit
63a3602464
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@ function SideNavigation(props: Props) {
|
|||
const [subscriptionFilter, setSubscriptionFilter] = React.useState('');
|
||||
|
||||
const filteredSubscriptions = subscriptions.filter(
|
||||
(sub) => !subscriptionFilter || sub.channelName.toLowerCase().includes(subscriptionFilter)
|
||||
(sub) => !subscriptionFilter || sub.channelName.toLowerCase().includes(subscriptionFilter.toLowerCase())
|
||||
);
|
||||
|
||||
let displayedSubscriptions = filteredSubscriptions;
|
||||
|
|
Loading…
Reference in a new issue