mirror of
https://github.com/Readarr/Readarr
synced 2026-01-31 03:43:39 +01:00
Fixed: Bookshelf jump bar
This commit is contained in:
parent
924e393d1a
commit
a774cf0682
1 changed files with 6 additions and 1 deletions
|
|
@ -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 });
|
||||
|
|
|
|||
Loading…
Reference in a new issue