mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-15 13:00:25 +02:00
handle song selection in context menu play action
This commit is contained in:
@@ -21,9 +21,11 @@ export const SongContextMenu = ({ items }: SongContextMenuProps) => {
|
||||
return { ids };
|
||||
}, [items]);
|
||||
|
||||
console.log(items, ids);
|
||||
|
||||
return (
|
||||
<ContextMenu.Content>
|
||||
<PlayAction ids={ids} itemType={LibraryItem.SONG} />
|
||||
<PlayAction ids={ids} itemType={LibraryItem.SONG} songs={items} />
|
||||
<ContextMenu.Divider />
|
||||
<AddToPlaylistAction items={ids} itemType={LibraryItem.SONG} />
|
||||
<ContextMenu.Divider />
|
||||
|
||||
Reference in New Issue
Block a user