mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-07 21:42:16 -07:00
Fixed: Jumpbar uses incorrect property
This commit is contained in:
parent
87e492fe51
commit
c08c2eb2f8
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue