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/messaging | |
| 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/messaging')
| -rw-r--r-- | src/client/pages/messaging/index.vue | 3 | ||||
| -rw-r--r-- | src/client/pages/messaging/messaging-room.vue | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/client/pages/messaging/index.vue b/src/client/pages/messaging/index.vue index 114a01ec3c..9510349d5c 100644 --- a/src/client/pages/messaging/index.vue +++ b/src/client/pages/messaging/index.vue @@ -43,6 +43,7 @@ import getAcct from '@/misc/acct/render'; import MkButton from '@client/components/ui/button.vue'; import { acct } from '../../filters/user'; import * as os from '@client/os'; +import * as symbols from '@client/symbols'; export default defineComponent({ components: { @@ -51,7 +52,7 @@ export default defineComponent({ data() { return { - INFO: { + [symbols.PAGE_INFO]: { title: this.$ts.messaging, icon: faComments }, diff --git a/src/client/pages/messaging/messaging-room.vue b/src/client/pages/messaging/messaging-room.vue index 8473bb36c2..dae4590213 100644 --- a/src/client/pages/messaging/messaging-room.vue +++ b/src/client/pages/messaging/messaging-room.vue @@ -47,6 +47,7 @@ import { isBottom, onScrollBottom, scroll } from '@client/scripts/scroll'; import * as os from '@client/os'; import { popout } from '@client/scripts/popout'; import * as sound from '@client/scripts/sound'; +import * as symbols from '@client/symbols'; const Component = defineComponent({ components: { @@ -70,7 +71,7 @@ const Component = defineComponent({ data() { return { - INFO: computed(() => !this.fetching ? this.user ? { + [symbols.PAGE_INFO]: computed(() => !this.fetching ? this.user ? { userName: this.user, avatar: this.user, action: { |