Minor style tweaks

This commit is contained in:
James Barnsley
2019-11-14 09:10:04 +13:00
parent 0f30574e92
commit 5b0aa0c193
3 changed files with 4 additions and 10 deletions

View File

@ -1495,7 +1495,7 @@ export function getPlaylist(uri) {
...helpers.formatPlaylist(response),
is_completely_loaded: true,
user_uri: response.owner.uri,
tracks_uris: helpers.arrayOf('uri', tracks),
tracks_uris: tracks ? helpers.arrayOf('uri', tracks) : null,
tracks_more: response.tracks.next,
tracks_total: response.tracks.total,
description,