     courseId: React.PropTypes.any.isRequired
     chapter: React.PropTypes.object.isRequired
     hide: React.PropTypes.func.isRequired
-    shouldShow: React.PropTypes.bool
     selected: React.PropTypes.array
 
   renderSections: (section) ->

      @staticPosition = @getPosition(el)

  render: ->
    if not @props.shouldShow
      return <span></span>

    numSelected = TaskPlanStore.getExercises(@props.planId).length
    numTutor = TaskPlanStore.getTutorSelections(@props.planId)
    total = numSelected + numTutor


  propTypes:
    planId: React.PropTypes.any.isRequired
    canAdd: React.PropTypes.bool
    addClicked: React.PropTypes.func.isRequired

