From 63a360246452d861cf5098f5634b774d4ab6752f Mon Sep 17 00:00:00 2001 From: David Granado Date: Tue, 1 Feb 2022 18:14:59 -0600 Subject: [PATCH] Case insensitive subscription filter --- ui/component/sideNavigation/view.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/component/sideNavigation/view.jsx b/ui/component/sideNavigation/view.jsx index ca74b1dc6..1afa7470e 100644 --- a/ui/component/sideNavigation/view.jsx +++ b/ui/component/sideNavigation/view.jsx @@ -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;