Skip to content

Commit

Permalink
drag between lists doesn't work yet
Browse files Browse the repository at this point in the history
  • Loading branch information
pvh committed Nov 19, 2019
1 parent c376a4d commit 39fde70
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/renderer/components/content-types/ListContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,11 @@ export default function ListContent(props: ContentProps) {
return null
}

// TODO: droppableId must be unique, but if you have two instances of the
// same list on a board this will probably fail in creative ways
return (
<DragDropContext onDragEnd={onDragEnd}>
<Droppable droppableId="droppable">
<Droppable droppableId={`droppable-${props.hypermergeUrl}`}>
{(provided, snapshot) => (
<div
className="BoardCard--standard"
Expand Down

0 comments on commit 39fde70

Please sign in to comment.