mirror of
https://github.com/fergalmoran/Readarr.git
synced 2025-12-27 03:47:34 +00:00
Fixed: Bookshelf jump bar
This commit is contained in:
@@ -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