               content = "#{content} #{child}"
       content = "#{content} #{__ "have newer version. Please update your plugins."}"
       notify content,
-        type: title
+        type: 'plugin update'
+        title: title
         icon: path.join(ROOT, 'assets', 'img', 'material', '7_big.png')
     @setState
       latest: latest
       checking: false
+      isUpdateAvailable: isUpdateAvailable
   checkUpdate: (callback, isfirst) ->
     npm.load {prefix: "#{PLUGIN_PATH}", registry: mirror[@state.mirror].server}, (err) ->
       npm.config.set 'depth', 1

              <span> {__ "Check Update"}</span>
            </Button>
            <Button onClick={@handleUpdateAll.bind(@, @handleUpdateAllComplete)}
                    disabled={@state.updatingAll}
                    className="control-button"
                    style={width: '33%'}>
              <FontAwesome name={

    latest = @state.latest
    for updateObject, index in updateData
      latest[updateObject[1]] = updateObject[4]
    isUpdateAvailable = updateData.length > 0
    if isfirst && updateData.length > 0
      title = __ 'Plugin update'
      content = ""
