summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Weidinger <alexwegoo@gmail.com>2017-09-21 15:34:34 +0200
committerAlexander Weidinger <alexwegoo@gmail.com>2017-09-21 15:34:34 +0200
commit5f9a465eb82da86cda2a2a18fa311ec7034e3041 (patch)
treefe349e232bf6f6c5975ae1c789efae62ec2fa912
parentf271d147d0d5eef35348222a6ef5fc74bc5cc946 (diff)
Always refresh contactList.
-rw-r--r--js/components/contactList/contactList_controller.js4
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;
});
});
});