feat: draggable channels in favorites list

This commit is contained in:
4gray committed 2023-02-28 22:16:14 +01:00
1 parent de17686cdf
commit ba41c8dae5
9 files changed
+101 -23

No files matched your search

+11
View File
@@ -180,4 +180,15 @@ export class PlaylistsService {
})
);
}
setFavorites(playlistId: string, favorites: string[]) {
return this.getPlaylistById(playlistId).pipe(
switchMap((playlist) =>
this.dbService.update(DbStores.Playlists, {
...playlist,
favorites,
})
)
);
}
}