mirror of
https://github.com/Readarr/Readarr.git
synced 2026-09-18 17:23:10 -04:00
Fixed: Bookshelf jump bar
This commit is contained in:
1 parent
924e393d1a
commit
a774cf0682
1 file changed
+6
-1
@@ -289,7 +289,12 @@ class Bookshelf extends Component {
|
||||
}
|
||||
|
||||
onJumpBarItemPress = (jumpToCharacter) => {
|
||||
const scrollIndex = getIndexOfFirstCharacter(this.props.items, jumpToCharacter);
|
||||
const {
|
||||
items,
|
||||
sortKey
|
||||
} = this.props;
|
||||
|
||||
const scrollIndex = getIndexOfFirstCharacter(items, sortKey, jumpToCharacter);
|
||||
|
||||
if (scrollIndex != null) {
|
||||
this.setState({ scrollIndex });
|
||||
|
||||
Reference in new issue
Block a user