diff options
author | Alexander Weidinger <alexwegoo@gmail.com> | 2017-09-21 15:34:34 +0200 |
---|---|---|
committer | Alexander Weidinger <alexwegoo@gmail.com> | 2017-09-21 15:34:34 +0200 |
commit | 5f9a465eb82da86cda2a2a18fa311ec7034e3041 (patch) | |
tree | fe349e232bf6f6c5975ae1c789efae62ec2fa912 | |
parent | f271d147d0d5eef35348222a6ef5fc74bc5cc946 (diff) |
Always refresh contactList.
-rw-r--r-- | js/components/contactList/contactList_controller.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/js/components/contactList/contactList_controller.js b/js/components/contactList/contactList_controller.js index 8371872f..c633d9c3 100644 --- a/js/components/contactList/contactList_controller.js +++ b/js/components/contactList/contactList_controller.js @@ -72,9 +72,7 @@ angular.module('contactsApp') gid: t('contacts', 'All contacts') }); } - if(ev.contacts.length !== 0) { - ctrl.contactList = ev.contacts; - } + ctrl.contactList = ev.contacts; }); }); }); |