From 5063b56b4e2ca925929b6dd7795be54f235b7205 Mon Sep 17 00:00:00 2001 From: kolaente Date: Sat, 4 Sep 2021 20:14:40 +0200 Subject: [PATCH] Add downloading a user data export --- src/components/tasks/partials/attachments.vue | 2 +- src/i18n/lang/en.json | 4 +- src/router/index.js | 6 ++ src/services/dataExport.js | 2 +- src/views/user/DataExportDownload.vue | 64 +++++++++++++++++++ 5 files changed, 74 insertions(+), 4 deletions(-) create mode 100644 src/views/user/DataExportDownload.vue diff --git a/src/components/tasks/partials/attachments.vue b/src/components/tasks/partials/attachments.vue index d49409f21..aa93494f7 100644 --- a/src/components/tasks/partials/attachments.vue +++ b/src/components/tasks/partials/attachments.vue @@ -57,7 +57,7 @@ @click.prevent.stop="downloadAttachment(a)" v-tooltip="$t('task.attachment.downloadTooltip')" > - {{ $t('task.attachment.download') }} + {{ $t('misc.download') }} downloadBlob(url, 'vikunja-export.zip')) } } \ No newline at end of file diff --git a/src/views/user/DataExportDownload.vue b/src/views/user/DataExportDownload.vue new file mode 100644 index 000000000..f22dd9262 --- /dev/null +++ b/src/views/user/DataExportDownload.vue @@ -0,0 +1,64 @@ + + +