summaryrefslogtreecommitdiff
path: root/src/client/app/mobile/views/pages/user.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/app/mobile/views/pages/user.vue')
-rw-r--r--src/client/app/mobile/views/pages/user.vue10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/client/app/mobile/views/pages/user.vue b/src/client/app/mobile/views/pages/user.vue
index 08fa4e2774..f33f209db1 100644
--- a/src/client/app/mobile/views/pages/user.vue
+++ b/src/client/app/mobile/views/pages/user.vue
@@ -18,11 +18,11 @@
</div>
<div class="description">{{ user.description }}</div>
<div class="info">
- <p class="location" v-if="user.host === null && user.account.profile.location">
- %fa:map-marker%{{ user.account.profile.location }}
+ <p class="location" v-if="user.host === null && user.profile.location">
+ %fa:map-marker%{{ user.profile.location }}
</p>
- <p class="birthday" v-if="user.host === null && user.account.profile.birthday">
- %fa:birthday-cake%{{ user.account.profile.birthday.replace('-', '年').replace('-', '月') + '日' }} ({{ age }}歳)
+ <p class="birthday" v-if="user.host === null && user.profile.birthday">
+ %fa:birthday-cake%{{ user.profile.birthday.replace('-', '年').replace('-', '月') + '日' }} ({{ age }}歳)
</p>
</div>
<div class="status">
@@ -81,7 +81,7 @@ export default Vue.extend({
return this.getAcct(this.user);
},
age(): number {
- return age(this.user.account.profile.birthday);
+ return age(this.user.profile.birthday);
},
name() {
return getUserName(this.user);