Merge branch 'main' of github.com:SamidyFR/monochrome
This commit is contained in:
commit
e789af30cd
2 changed files with 6 additions and 1 deletions
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
<br>
|
||||
|
||||
[<img src="https://files.catbox.moe/94f3pq.png" alt="Monochrome UI" width="800">](https://monochrome.samidy.com/#album/413189044)
|
||||
[<img src="https://files.catbox.moe/tpgxii.png" alt="Monochrome UI" width="800">](https://monochrome.samidy.com/#album/413189044)
|
||||
|
||||
### Features
|
||||
|
||||
|
|
|
|||
|
|
@ -574,6 +574,11 @@ export async function handleTrackAction(
|
|||
}
|
||||
}
|
||||
tracks = playlist ? playlist.tracks : item.tracks || [];
|
||||
if (playlist) item.name = playlist.name;
|
||||
} else if (type === 'mix') {
|
||||
const data = await api.getMix(item.id);
|
||||
tracks = data.tracks;
|
||||
if (data.mix) item.title = data.mix.title;
|
||||
}
|
||||
|
||||
if (tracks.length > 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue