Set invites to empty array

This commit is contained in:
Shane Kilkelly 2016-08-15 15:40:16 +01:00
parent 36d969e6e6
commit d40cf6568d

View file

@ -67,6 +67,9 @@ define [
$scope.state.error = null
$scope.state.inflight = true
if !$scope.project.invites?
$scope.project.invites = []
currentMemberEmails = getCurrentMemberEmails()
currentInviteEmails = getCurrentInviteEmails()
do addNextMember = () ->