 sendInvitations = (invites, pendingInvites) ->
 
   new Promise (resolve, reject) ->
-    # return resolve { title: 'There is no body new to send invitation' }  if invites.length is 0
+
     remote.api.JInvitation.create { invitations: invites }, (err) =>
       if err
         return reject { title }

immutable   = require 'immutable'
Tracker     = require 'app/util/tracker'
isKoding    = require 'app/util/isKoding'


loadTeam = ->

        resolve { invites, admins }
      else
        resolve { invites }


loadPendingInvites = (invites) ->
