Skip to content

Commit

Permalink
fix: weird issue when changing libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
leinelissen committed Jul 25, 2024
1 parent 0387b29 commit 113eaea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/screens/Music/stacks/components/TrackListView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ const TrackListView: React.FC<TrackListViewProps> = ({
return [['0', trackIds]];
}

const groups = groupBy(trackIds, (id) => tracks[id].ParentIndexNumber);
const groups = groupBy(trackIds, (id) => tracks[id]?.ParentIndexNumber);
return Object.entries(groups);
}, [trackIds, tracks, listNumberingStyle]);

Expand Down

0 comments on commit 113eaea

Please sign in to comment.