summaryrefslogtreecommitdiffstats
path: root/src/components
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-03-26 09:22:57 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-03-26 09:52:55 +0100
commitcb3c7a848f0573b448702f74276bdb0a292dd6f4 (patch)
tree65101ac7e0b6c91d1fefa26e3add46f8fa94ada4 /src/components
parent96b16c29158135158313c0a4575c1a6e29125e7b (diff)
Do not close on import done and use modal for import
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'src/components')
-rw-r--r--src/components/ImportScreen.vue8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/components/ImportScreen.vue b/src/components/ImportScreen.vue
index 711e6836..6da8a09a 100644
--- a/src/components/ImportScreen.vue
+++ b/src/components/ImportScreen.vue
@@ -23,7 +23,10 @@
<template>
<div class="emptycontent import-screen">
<p class="icon-upload" />
- <h3 class="import-screen__header">
+ <h3 v-if="stage === 'done'" class="import-screen__header">
+ {{ t('contacts', 'Done importing {total} contacts into', { total }) }} {{ addressbook }}
+ </h3>
+ <h3 v-else class="import-screen__header">
{{ t('contacts', 'Importing {total} contacts into', { total }) }} {{ addressbook }}
</h3>
<progress :max="total" :value="progress" class="import-screen__progress" />
@@ -54,6 +57,9 @@ export default {
addressbook() {
return this.importState.addressbook
},
+ stage() {
+ return this.importState.stage
+ },
total() {
return this.importState.total
},