mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-17 00:44:23 +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
|
props.itemType === LibraryItem.QUEUE_SONG
|
||||||
? [DragOperation.REORDER, DragOperation.ADD]
|
? [DragOperation.REORDER, DragOperation.ADD]
|
||||||
: props.itemType === LibraryItem.PLAYLIST_SONG
|
: props.itemType === LibraryItem.PLAYLIST_SONG
|
||||||
? [DragOperation.REORDER]
|
? [DragOperation.REORDER, DragOperation.ADD]
|
||||||
: [DragOperation.ADD],
|
: [DragOperation.ADD],
|
||||||
target: DragTargetMap[props.itemType] || DragTarget.GENERIC,
|
target: DragTargetMap[props.itemType] || DragTarget.GENERIC,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user