Yes, let's debug tomorrow.  And yes, I think you're right that the check
should also include !model.remainingFriendQuota.


Cheers,
Ox

-----------------------------------------------------------------------------------------

"I love people who harness themselves, an ox to a heavy cart,
who pull like water buffalo, with massive patience,
who strain in the mud and the muck to move things forward,
who do what has to be done, again and again."

- Marge Piercy



On Wed, Jan 15, 2014 at 6:05 PM, skivvies <notifications@github.com> wrote:

> In app/partials/modals.html:
>
> > @@ -300,7 +300,7 @@
> >                    <span class="email">{{ friend.email }}</span>
> >                  </span>
> >                  <div ng-class="{'pull-right': true, 'btn-group': true, transparent: state.showAddRmIdx != $index}">
> > -                  <button ng-click="add(friend.email)" class="btn btn-mini btn-success" ng-disabled="pendingFriendUpdate">{{'ADD' | i18n}}</button>
> > +                  <button ng-click="add(friend.email)" class="btn btn-mini btn-success" ng-disabled="pendingFriendUpdate || !friend.freeToFriend">{{'ADD' | i18n}}</button>
>
> (By the way, I think the logic here not quite right -- we should only
> disable the button when !freeToFriend *AND* !model.remainingFriendQuota)
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/getlantern/lantern-ui/pull/71/files#r8918226>
> .
>