summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/components/AppNavigation/GroupNavigationItem.vue3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/AppNavigation/GroupNavigationItem.vue b/src/components/AppNavigation/GroupNavigationItem.vue
index 798eb4bb..87118d09 100644
--- a/src/components/AppNavigation/GroupNavigationItem.vue
+++ b/src/components/AppNavigation/GroupNavigationItem.vue
@@ -150,7 +150,8 @@ export default {
async downloadVcardPromise(vcardPromise) {
vcardPromise.then(response => {
const filename = moment().format('YYYY-MM-DD_HH-mm') + '_' + response.groupName + '.vcf'
- download(response.data, filename, 'text/vcard')
+ const content = 'data:text/plain;charset=utf-8,' + window.encodeURIComponent(response.data)
+ download(content, filename, 'text/vcard')
})
},