diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-04-10 13:38:24 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-04-10 13:38:24 +0900 |
| commit | fb8ed718cec074bb021bf7d594bbd42dba558ef0 (patch) | |
| tree | 163727de8634593bded7524fe5a72e71bcd6bca4 /src/client/pages/note.vue | |
| parent | refactor(client): Use symbol (diff) | |
| download | misskey-fb8ed718cec074bb021bf7d594bbd42dba558ef0.tar.gz misskey-fb8ed718cec074bb021bf7d594bbd42dba558ef0.tar.bz2 misskey-fb8ed718cec074bb021bf7d594bbd42dba558ef0.zip | |
Improve UI
Diffstat (limited to 'src/client/pages/note.vue')
| -rw-r--r-- | src/client/pages/note.vue | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client/pages/note.vue b/src/client/pages/note.vue index 921e73c0bc..90cb98c40e 100644 --- a/src/client/pages/note.vue +++ b/src/client/pages/note.vue @@ -45,6 +45,7 @@ import MkRemoteCaution from '@client/components/remote-caution.vue'; import MkButton from '@client/components/ui/button.vue'; import * as os from '@client/os'; import * as symbols from '@client/symbols'; +import { url } from '@client/config'; export default defineComponent({ components: { @@ -65,6 +66,11 @@ export default defineComponent({ [symbols.PAGE_INFO]: computed(() => this.note ? { title: this.$ts.note, avatar: this.note.user, + share: { + title: this.$t('noteOf', { user: this.note.user.name }), + text: this.note.text, + url: `${url}/notes/${this.note.id}` + }, } : null), note: null, clips: null, |