Skip to content

Commit

Permalink
Display number of accepted and denied contacts. #606
Browse files Browse the repository at this point in the history
  • Loading branch information
suntala committed Sep 17, 2018
1 parent 02dacf0 commit b109eb4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/ImportScreen.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
<h3 class="import-screen__header">{{ t('contacts', 'Importing into') }} {{ importState.addressbook }}</h3>
<progress :max="importState.total" :value="importState.accepted" class="import-screen__progress" />
<p class="import-screen__tracker">{{ Math.floor(importState.accepted/(importState.total + 1)) * 100 }} %</p>
<p>Accepted:</p>
<p>{{ importState.accepted }}</p>
<p>Denied: </p>
<p>{{ importState.denied }}</p>
</div>
</template>

Expand Down

0 comments on commit b109eb4

Please sign in to comment.