mirror of
https://codeberg.org/Hyperpipe/Hyperpipe
synced 2025-06-27 20:58:01 +02:00
fix like
broken in d0245c273e
Signed-off-by: Shiny Nematoda <snematoda@noreply.codeberg.org>
This commit is contained in:
parent
20f8e5ca70
commit
313097c427
1 changed files with 3 additions and 3 deletions
|
@ -51,9 +51,9 @@ async function Offline() {
|
|||
async function Like() {
|
||||
liking.value = true;
|
||||
|
||||
remote.value = await getAuthPlaylists();
|
||||
const remote = await getAuthPlaylists();
|
||||
|
||||
let fav = remote.value.find(i => i.name == 'Playlist - Favorites');
|
||||
let fav = remote.find(i => i.name == 'Playlist - Favorites');
|
||||
|
||||
if (!fav) {
|
||||
const { playlistId } = await useAuthCreatePlaylist('Favorites');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue