fix(utils/isTrackPlayable): songs that have been removed from the shelves cannot be played either

This commit is contained in:
njzy 2020-12-02 00:37:57 +08:00
parent 962b81a628
commit ff98dc7d9b
3 changed files with 15 additions and 3 deletions

View file

@ -34,7 +34,7 @@ export function getTrackDetail(ids) {
ids,
},
}).then((data) => {
data.songs = mapTrackPlayableStatus(data.songs);
data.songs = mapTrackPlayableStatus(data.songs, data.privileges);
return data;
});
}