Skip to content

Commit

Permalink
[PAY-1390] fix inverted condition for computing track count (#3519)
Browse files Browse the repository at this point in the history
  • Loading branch information
schottra committed Jun 6, 2023
1 parent 3a3b206 commit 8cda7b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ const useTrackCountWithOfflineOverride = (collection: Collection | null) => {
if (!collection) {
return 0
}
if (!isReachable) {
if (isReachable) {
return collection.playlist_contents.track_ids.length
}
const trackIds =
Expand Down

0 comments on commit 8cda7b2

Please sign in to comment.