Appeal: Add contacts by tag

No, I'm not sure off the top of my head (on the iPad right now) but it should be !=. Maybe look into refractoring that to an array, your iterating over it and everything. Unless there's something I'm missing.

On Fri, Nov 21, 2014 at 9:31 AM, Adam Meyer <notifications@github.com>
wrote:

>>                          });
>>  
>> -                        var contactsObject = [];
>> -                        api.call('get', strContactsUrl, {}, function(data) {
>> -                            if(statusCount > 0){
>> -                                angular.forEach(data.contacts, function(c) {
>> -                                    contactsObject.push(c.id);
>> -                                });
>> -                            }
>> +                        var getContactsByStatus = function(){
>> +                          if(!Object.keys(newAppeal.validStatus).length){
> I'm not sure.  I just put in if(newAppeal.validStatus == {}) and it's false when it should be true. Are you sure you can compare objects like that?
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/CruGlobal/mpdx/pull/187/files#r20720914