     planId: React.PropTypes.any.isRequired
     courseId: React.PropTypes.any.isRequired
     pageIds: React.PropTypes.array
-    shouldShow: React.PropTypes.bool
 
   mixins: [ExercisesRenderMixin]
 

      @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


  render: ->
    {courseId, planId, selected, hide} = @props
    unless TocStore.isLoaded()
      TocActions.load(courseId)
      return <span className="-loading">Loading...</span>
