mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-19 10:26:17 +00:00
disable sort within a single group (#7389)
Co-authored-by: zhouwenxuan <aries@Mac.local>
This commit is contained in:
@@ -75,7 +75,7 @@ const Board = ({
|
||||
onDrop={e => onDragEnd(boardIndex, e)}
|
||||
onDragEnter={() => setDraggingOver(true)}
|
||||
onDragLeave={() => setDraggingOver(false)}
|
||||
shouldAcceptDrop={() => true}
|
||||
shouldAcceptDrop={(sourceContainer) => sourceContainer.groupName !== boardName}
|
||||
getChildPayload={(cardIndex) => ({ boardIndex, cardIndex })}
|
||||
dropPlaceholder={{
|
||||
animationDuration: 300,
|
||||
|
Reference in New Issue
Block a user