From ebd1c877ada8c9081c3a42f7168f5e25b91427b1 Mon Sep 17 00:00:00 2001 From: MeiMei <30769358+mei23@users.noreply.github.com> Date: Thu, 6 Sep 2018 03:21:11 +0900 Subject: [PATCH] Show host in local user detail (#2634) --- src/client/app/common/views/components/acct.vue | 10 ++++++++-- .../app/desktop/views/pages/user/user.header.vue | 2 +- src/client/app/mobile/views/pages/user.vue | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/client/app/common/views/components/acct.vue b/src/client/app/common/views/components/acct.vue index 1ad222afd..2b5efe609 100644 --- a/src/client/app/common/views/components/acct.vue +++ b/src/client/app/common/views/components/acct.vue @@ -1,14 +1,20 @@ @{{ user.username }} - @{{ user.host }} + @{{ user.host || host }} diff --git a/src/client/app/desktop/views/pages/user/user.header.vue b/src/client/app/desktop/views/pages/user/user.header.vue index d8f4656ed..4b434ec21 100644 --- a/src/client/app/desktop/views/pages/user/user.header.vue +++ b/src/client/app/desktop/views/pages/user/user.header.vue @@ -6,7 +6,7 @@
{{ user | userName }}