summaryrefslogtreecommitdiff
path: root/src/client/app/common/views/components/profile-editor.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/app/common/views/components/profile-editor.vue')
-rw-r--r--src/client/app/common/views/components/profile-editor.vue17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/client/app/common/views/components/profile-editor.vue b/src/client/app/common/views/components/profile-editor.vue
index feffd25437..d745e7d291 100644
--- a/src/client/app/common/views/components/profile-editor.vue
+++ b/src/client/app/common/views/components/profile-editor.vue
@@ -87,6 +87,14 @@
<ui-button @click="updateEmail()">{{ $t('save') }}</ui-button>
</div>
</section>
+
+ <section>
+ <header>{{ $t('export') }}</header>
+
+ <div>
+ <ui-button @click="exportNotes()">{{ $t('export-notes') }}</ui-button>
+ </div>
+ </section>
</ui-card>
</template>
@@ -252,6 +260,15 @@ export default Vue.extend({
email: this.email == '' ? null : this.email
});
});
+ },
+
+ exportNotes() {
+ this.$root.api('i/export-notes', {});
+
+ this.$root.dialog({
+ type: 'info',
+ text: this.$t('export-requested')
+ });
}
}
});