1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-14 11:23:42 +02:00

Fixed: Don't convert series selection filter to lower case in state

This commit is contained in:
Mark McDowall 2021-01-02 10:30:11 -08:00
parent 37501094d7
commit ca52eb76ca

View File

@ -28,7 +28,7 @@ class SelectSeriesModalContent extends Component {
// Listeners
onFilterChange = ({ value }) => {
this.setState({ filter: value.toLowerCase() });
this.setState({ filter: value });
}
//
@ -42,6 +42,7 @@ class SelectSeriesModalContent extends Component {
} = this.props;
const filter = this.state.filter;
const filterLower = filter.toLowerCase();
return (
<ModalContent onModalClose={onModalClose}>
@ -68,7 +69,7 @@ class SelectSeriesModalContent extends Component {
>
{
items.map((item) => {
return item.title.toLowerCase().includes(filter) ?
return item.title.toLowerCase().includes(filterLower) ?
(
<SelectSeriesRow
key={item.id}