mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
fix missing drag "add" operation to playlist song items
This commit is contained in:
@@ -176,7 +176,7 @@ export const ItemTableListColumn = (props: ItemTableListColumn) => {
|
||||
props.itemType === LibraryItem.QUEUE_SONG
|
||||
? [DragOperation.REORDER, DragOperation.ADD]
|
||||
: props.itemType === LibraryItem.PLAYLIST_SONG
|
||||
? [DragOperation.REORDER]
|
||||
? [DragOperation.REORDER, DragOperation.ADD]
|
||||
: [DragOperation.ADD],
|
||||
target: DragTargetMap[props.itemType] || DragTarget.GENERIC,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user