summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-08-14 17:36:26 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-08-14 17:36:26 +0200
commit391b2f4d488fe103b35924da87086e2138530aa9 (patch)
tree5f9fbf219b6ce669e19f89f32e89550e288e245a /templates
parentdb3843566faca4bd8172326698ffd97c79f5fd7d (diff)
Auto hide sidebar if mobile
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 a5ff2a3a..64bf86b2 100644
--- a/templates/contactImport.html
+++ b/templates/contactImport.html
@@ -1,7 +1,7 @@
<input type="file" id="contact-import" class="hidden-visually" multiple/>
<label for="contact-import" class="button {{ctrl.loadingClass}}" ng-class="{'no-select': ctrl.addressBooks.length === 1}" id="upload">
{{ctrl.importText}}
- <span ng-if="ctrl.addressBooks.length === 1">{{ctrl.addressBooks[0].displayName}}</span>
+ <span ng-if="ctrl.addressBooks.length === 1 && !ctrl.importing" ng-class="{'icon-loading-small': ctrl.loading}">{{ctrl.selectedAddressBook.displayName}}</span>
</label>
<ui-select ng-model="ctrl.selectedAddressBook" ng-if="ctrl.addressBooks.length > 1" search-enabled="ctrl.addressBooks.length > 4"
theme="select2" class="form-control" title="{{ctrl.t.selectAddressbook}}"