         <CountdownTimer countdownId={"kdock-#{@props.dockIndex}"}
                         completeTime={@props.completeTime}
                         tickCallback={@tick}
-                        completeCallback={@notify} />
+                        completeCallback={@props.notify} />
     }
     </Label>
 

  path = join(ROOT, 'assets', 'img', 'material', "0#{idx}.png")
  <img src={path} className="material-icon" />

KdockPanel = React.createClass
  getInitialState: ->
    docks: new Array(5).fill(0).map () -> new KDockInfo
  handleResponse: (e) ->

    window.addEventListener 'game.response', @handleResponse
  componentWillUnmount: ->
    window.removeEventListener 'game.response', @handleResponse
  notify: ->
    return if not @canNotify
    completedShips = []
    for i in [1..4]
      if 0 <= @state.docks[i].completeTime <= new Date().getTime()
        completedShips.push i18n.resources.__ @state.docks[i].name
    notify "#{completedShips.join ', '} #{__ 'built'}",
      type: 'construction'
      icon: constructionIcon
  render: ->
    <div>
    {
