diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-04-10 12:54:12 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-04-10 12:54:12 +0900 |
| commit | 45e5d8935362dc19d61ede2cfccadd2f4be42003 (patch) | |
| tree | 1e3190210a5adb7c88ab7a13bae85102eddbd783 /src/client/pages/note.vue | |
| parent | Default UI redesign (#7429) (diff) | |
| download | misskey-45e5d8935362dc19d61ede2cfccadd2f4be42003.tar.gz misskey-45e5d8935362dc19d61ede2cfccadd2f4be42003.tar.bz2 misskey-45e5d8935362dc19d61ede2cfccadd2f4be42003.zip | |
refactor(client): Use symbol
Diffstat (limited to 'src/client/pages/note.vue')
| -rw-r--r-- | src/client/pages/note.vue | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/pages/note.vue b/src/client/pages/note.vue index 6debb611fd..921e73c0bc 100644 --- a/src/client/pages/note.vue +++ b/src/client/pages/note.vue @@ -44,6 +44,7 @@ import XNotes from '@client/components/notes.vue'; 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'; export default defineComponent({ components: { @@ -61,7 +62,7 @@ export default defineComponent({ }, data() { return { - INFO: computed(() => this.note ? { + [symbols.PAGE_INFO]: computed(() => this.note ? { title: this.$ts.note, avatar: this.note.user, } : null), |