mirror of
https://github.com/fergalmoran/Readarr.git
synced 2025-12-22 09:29:59 +00:00
Fixed: Jumpbar uses incorrect property
This commit is contained in:
@@ -2,7 +2,7 @@ import _ from 'lodash';
|
|||||||
|
|
||||||
export default function getIndexOfFirstCharacter(items, character) {
|
export default function getIndexOfFirstCharacter(items, character) {
|
||||||
return _.findIndex(items, (item) => {
|
return _.findIndex(items, (item) => {
|
||||||
const firstCharacter = item.sortTitle.charAt(0);
|
const firstCharacter = item.sortName.charAt(0);
|
||||||
|
|
||||||
if (character === '#') {
|
if (character === '#') {
|
||||||
return !isNaN(firstCharacter);
|
return !isNaN(firstCharacter);
|
||||||
|
|||||||
Reference in New Issue
Block a user