 
 
   renderPopOver: ->
-    {title, description, shareable_url} = @props.plan
+    {title, description} = @props.plan
+    shareable_url = @getStats().shareable_url
     l = window.location
     url = "#{l.protocol}//#{l.host}#{shareable_url}"
 

BindStoreMixin = require '../bind-store-mixin'
TaskPlanHelper = require '../../helpers/task-plan'
Clipboard = require '../../helpers/clipboard'

moment = require 'moment'
Icon = require '../icon'
{TeacherTaskPlanStore} = require '../../flux/teacher-task-plan'
{CourseStore} = require '../../flux/course'


      </div>
    </BS.Popover>

  getStats: ->
    TaskPlanStatsStore.get(this.props.plan.id) or {}

  renderLink: ->
    return null unless @getStats().shareable_url
    <div className="lms-info">
      <BS.OverlayTrigger trigger="click"
        placement="top"
