mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-09 20:29:36 +02:00
add to playlist context menu for playlist songs
This commit is contained in:
@@ -162,7 +162,7 @@ export const AddToPlaylistAction = ({ items, itemType }: AddToPlaylistActionProp
|
|||||||
try {
|
try {
|
||||||
let allSongIds: string[] = [];
|
let allSongIds: string[] = [];
|
||||||
|
|
||||||
if (itemType === LibraryItem.SONG) {
|
if (itemType === LibraryItem.SONG || itemType === LibraryItem.PLAYLIST_SONG) {
|
||||||
allSongIds = items;
|
allSongIds = items;
|
||||||
} else if (itemType === LibraryItem.ALBUM) {
|
} else if (itemType === LibraryItem.ALBUM) {
|
||||||
for (const id of items) {
|
for (const id of items) {
|
||||||
|
|||||||
Reference in New Issue
Block a user