From 45e5d8935362dc19d61ede2cfccadd2f4be42003 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 10 Apr 2021 12:54:12 +0900 Subject: refactor(client): Use symbol --- src/client/pages/note.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/client/pages/note.vue') 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), -- cgit v1.2.3-freya