diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2019-02-05 19:50:14 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-05 19:50:14 +0900 |
| commit | 5db5bbd1cd25f83640d4dd01de14e7774d9370db (patch) | |
| tree | 701c27744ca0e4d6e16d5f2fb568481c1bf4baf0 /src/client | |
| parent | Add ffmpeg package for the runner container (#4145) (diff) | |
| download | misskey-5db5bbd1cd25f83640d4dd01de14e7774d9370db.tar.gz misskey-5db5bbd1cd25f83640d4dd01de14e7774d9370db.tar.bz2 misskey-5db5bbd1cd25f83640d4dd01de14e7774d9370db.zip | |
自分の投稿情報をエクスポートできるように (#4144)
* wip
* 正しいJSONを生成するように
* データを整形
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/app/common/views/components/profile-editor.vue | 17 |
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') + }); } } }); |