Merge pull request #10197 from GinkgoFJG/CRM-20458
[civicrm-core.git] / ang / crmMailingAB / ListCtrl.html
index ec6f1974043652e698b0ca7f9771f79428725730..5d2c0768d2c5b9d52c66add20de4ffd1292ebaa5 100644 (file)
@@ -25,7 +25,7 @@ Required vars: mailingABList
   </form>
 </div>
 
-<div ng-show="!$.isEmptyObject(mailingABList)">
+<div ng-show="mailingABList.length">
   <table class="display">
     <thead>
     <tr>
@@ -51,7 +51,7 @@ Required vars: mailingABList
   </table>
 </div>
 
-<div ng-show="$.isEmptyObject(mailingABList)" class="messages status no-popup">
+<div ng-show="mailingABList.length === 0" class="messages status no-popup">
   <i class="crm-i fa-info-circle"></i>
   {{ts('You have no A/B mailings')}}
 </div>