summaryrefslogtreecommitdiffstats
path: root/src/components/Settings/SettingsImportContacts.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Settings/SettingsImportContacts.vue')
-rw-r--r--src/components/Settings/SettingsImportContacts.vue11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/components/Settings/SettingsImportContacts.vue b/src/components/Settings/SettingsImportContacts.vue
index c44c4939..9f2c13d0 100644
--- a/src/components/Settings/SettingsImportContacts.vue
+++ b/src/components/Settings/SettingsImportContacts.vue
@@ -23,8 +23,11 @@
<template>
<div class="import-contact">
<template v-if="!isNoAddressbookAvailable">
- <input id="contact-import" :disabled="isImporting" type="file"
- class="hidden-visually" @change="processFile">
+ <input id="contact-import"
+ :disabled="isImporting"
+ type="file"
+ class="hidden-visually"
+ @change="processFile">
<label id="upload" for="contact-import" class="button import-contact__multiselect-label icon-upload">
{{ isImporting ? t('contacts', 'Importing into') : t('contacts', 'Import into') }}
</label>
@@ -36,7 +39,9 @@
label="displayName"
class="import-contact__multiselect" />
</template>
- <button v-else id="upload" for="contact-import"
+ <button v-else
+ id="upload"
+ for="contact-import"
class="button import-contact__multiselect-label import-contact__multiselect--no-select icon-error">
{{ t('contacts', 'Importing is disabled because there are no address books available') }}
</button>