summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-10-27 22:22:54 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-11-21 15:55:04 +0100
commit534b54395e1da1e49c2641a348204efc7893ceae (patch)
treebb217fcf5ae809b7e6ce34aae710649230acd911 /templates
parent1aca6dbf241f094c4476cc66c3e3e9e6767d731d (diff)
Filter out disabled ab
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/contactList.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/contactList.html b/templates/contactList.html
index f5f7da06..c41dffb2 100644
--- a/templates/contactList.html
+++ b/templates/contactList.html
@@ -1,6 +1,6 @@
<div class="contacts-list" ng-class="{loading: ctrl.loading, 'mobile-show': ctrl.show}">
<div class="app-content-list-item"
- ng-repeat="contact in ctrl.filteredContacts = (ctrl.contactList | contactGroupFilter:ctrl.routeParams.gid | localeOrderBy:ctrl.sortBy | filter:query | limitTo:ctrl.limitTo ) as filtered track by contact.uid()"
+ ng-repeat="contact in ctrl.filteredContacts = (ctrl.contactList | filter:{'data':{'addressBook':{'enabled': true}}} | contactGroupFilter:ctrl.routeParams.gid | localeOrderBy:ctrl.sortBy | filter:query | limitTo:ctrl.limitTo) as filtered track by contact.uid()"
contact data="contact"
ng-click="setSelected(contact.uid())"
ng-class="{active: contact.uid() === ctrl.getSelectedId()}">