Skip to content

Commit

Permalink
Only enable an 'idea' as a drop target in Grouping Stage
Browse files Browse the repository at this point in the history
  • Loading branch information
vanderhoop committed Feb 11, 2019
1 parent c3ba534 commit 721040b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/static/js/components/idea.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { connect } from "react-redux"
import { bindActionCreators } from "redux"
import values from "lodash/values"

import STAGES from "../configs/stages"
import IdeaEditForm from "./idea_edit_form"
import IdeaDropTarget from "./idea_drop_target"
import IdeaLiveEditContent from "./idea_live_edit_content"
Expand Down Expand Up @@ -44,6 +45,7 @@ export const Idea = props => {
return (
<IdeaDropTarget
tagName="li"
dragAndDropHandlersActive={stage === STAGES.GROUPING}
wrapperClassName={classes}
onDropOfIdea={() => {}}
title={idea.body}
Expand Down

0 comments on commit 721040b

Please sign in to comment.