diff options
author | Alexander Weidinger <irgendwie@users.noreply.github.com> | 2017-09-21 17:48:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-21 17:48:07 +0200 |
commit | 3de9e8a630619650cde7b3c3062bea4741b43ea7 (patch) | |
tree | 5f776dc6a37e91cc1b3d895d2697d25b914611a1 | |
parent | c9532abdf201193ea3e0b82c28755b1c5e8f93c9 (diff) | |
parent | 5f9a465eb82da86cda2a2a18fa311ec7034e3041 (diff) |
Merge pull request #352 from nextcloud/fix-delete-last-contact
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; }); }); }); |