diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-03-28 13:04:46 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-03-28 13:04:46 +0100 |
commit | bb620d8b28b6cc6003f711d5aee2637673d1191b (patch) | |
tree | 887e7a354fda3354f6cd4933974534dd02601144 /src | |
parent | fa4dc2c1831e33074319b309a5833d171d27d17d (diff) |
Use displayname as file name when downloading a contact
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/components/ContactDetails.vue | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/ContactDetails.vue b/src/components/ContactDetails.vue index 38329219..1fca2038 100644 --- a/src/components/ContactDetails.vue +++ b/src/components/ContactDetails.vue @@ -254,7 +254,8 @@ export default { { icon: 'icon-download', text: t('contacts', 'Download'), - href: this.contact.url + href: this.contact.url, + download: `${this.contact.displayName}.vcf` }, { icon: 'icon-qrcode', |