Fixed: Jumpbar uses incorrect property

pull/6/head
Qstick 6 years ago
parent 87e492fe51
commit c08c2eb2f8

@ -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);

Loading…
Cancel
Save