1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2025-02-25 15:22:42 +00:00

Fixed: Jumpbar uses incorrect property

This commit is contained in:
Qstick 2018-03-17 10:55:16 -04:00
parent 87e492fe51
commit c08c2eb2f8

View file

@ -2,7 +2,7 @@ import _ from 'lodash';
export default function getIndexOfFirstCharacter(items, character) {
return _.findIndex(items, (item) => {
const firstCharacter = item.sortTitle.charAt(0);
const firstCharacter = item.sortName.charAt(0);
if (character === '#') {
return !isNaN(firstCharacter);