|
|
@ -88,10 +88,10 @@ export const Draggable = (props: DraggableType) => { |
|
|
|
handleDrop(event) |
|
|
|
handleDrop(event) |
|
|
|
}} |
|
|
|
}} |
|
|
|
onDragStart={(event) => { |
|
|
|
onDragStart={(event) => { |
|
|
|
if(destination && destination.path === '/'){ |
|
|
|
if (destination && destination.path === '/'){ |
|
|
|
event.preventDefault() |
|
|
|
event.preventDefault() |
|
|
|
event.stopPropagation |
|
|
|
event.stopPropagation |
|
|
|
}else |
|
|
|
} else |
|
|
|
|
|
|
|
|
|
|
|
if (destination) { |
|
|
|
if (destination) { |
|
|
|
handleDrag() |
|
|
|
handleDrag() |
|
|
|