mirror of
https://codeberg.org/Hyperpipe/Hyperpipe
synced 2025-06-28 13:08:01 +02:00
Bug Fixes:
- Fixed Navbar links (closes #8) - Fixed Lyrics not updating
This commit is contained in:
parent
4ac524dcf2
commit
e0bc3c61a2
6 changed files with 93 additions and 46 deletions
|
@ -30,11 +30,15 @@ const playAlbum = () => {
|
|||
},
|
||||
saveAlbum = () => {
|
||||
const urls = results.items?.songs?.items?.map(item => {
|
||||
return { url: item.url, title: item.title };
|
||||
}),
|
||||
title = results.items?.songs?.title;
|
||||
return { url: item.url, title: item.title };
|
||||
});
|
||||
|
||||
let title = results.items?.songs?.title;
|
||||
|
||||
if (title) {
|
||||
if (title == 'Songs')
|
||||
title += ' - ' + results.items.songs.items[0].uploaderName;
|
||||
|
||||
useCreatePlaylist(title, urls, () => {
|
||||
alert('Saved!');
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue