summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-08-25 19:04:52 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-09-03 18:51:24 +0200
commit1c1a4cfda3e0f8c092913aaa313209073e5335ac (patch)
tree43b9e7db6c2923476778187a6ec2649b3ea6978b /templates
parent2b63340ec9baf9f147757b339fbf8575acc46692 (diff)
Filter out read-only ab from import select
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/contactImport.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/contactImport.html b/templates/contactImport.html
index 64bf86b2..b63d8489 100644
--- a/templates/contactImport.html
+++ b/templates/contactImport.html
@@ -7,7 +7,7 @@
theme="select2" class="form-control" title="{{ctrl.t.selectAddressbook}}"
uis-open-close="ctrl.stopHideMenu(isOpen)" ng-class="{'icon-loading-small': ctrl.loading}">
<ui-select-match placeholder="{{ctrl.t.selectAddressbook}}">{{$select.selected.displayName}}</ui-select-match>
- <ui-select-choices repeat="addressBook in ctrl.addressBooks | filter: {displayName: $select.search}">
+ <ui-select-choices repeat="addressBook in ctrl.addressBooks | filter: {readOnly: false} | filter: {displayName: $select.search}">
{{addressBook.displayName}}
</ui-select-choices>
</ui-select> \ No newline at end of file