diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-09-14 14:37:22 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-09-14 14:37:22 +0200 |
commit | 2ca2ea9c008280fc82f930f8b8dc005b381e2ef3 (patch) | |
tree | a0d09e06eb05afc0638e44c65954bddce041243c /templates | |
parent | 78b33092a1c589b9a03ca523d75fabf3fcf94e62 (diff) |
Fix search error
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/contactList.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/contactList.html b/templates/contactList.html index ca3aa465..c661fe3a 100644 --- a/templates/contactList.html +++ b/templates/contactList.html @@ -1,11 +1,11 @@ -<div style="height: 90%" class="contacts-list" ng-class="{loading: ctrl.loading, 'mobile-show': ctrl.show}"> +<div class="contacts-list" ng-class="{loading: ctrl.loading, 'mobile-show': ctrl.show}"> <div class="app-content-list-item" ng-repeat="contact in (ctrl.contactList | 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()}"> </div> - <div ng-show="!ctrl.contactList.length && !ctrl.loading && ctrl.searchTerm !== ''"> + <div ng-show="!filtered.length && !ctrl.loading && ctrl.searchTerm !== ''"> <div id="emptycontent" class="emptycontent-search"> <div class="icon-search"></div> <h2>{{ctrl.t.emptySearch}}</h2> |