Skip to content

Commit

Permalink
[change] 表示名をnameからdisplay_nameに変更
Browse files Browse the repository at this point in the history
  • Loading branch information
Simo-C3 committed Nov 30, 2022
1 parent 901a3e5 commit 0ab4853
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions components/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
/>
<!-- name -->
<div class="text-gray-200 mb-6">
{{ getName }}
{{ getDisplayName }}
</div>
<div class="border-solid border-b border-gray-200 w-10/12 my-1 mx-auto" />
<div @click="activeNav = !activeNav">
Expand Down Expand Up @@ -198,8 +198,8 @@ export default class Header extends Vue {
return authStore.getUser.avatar_url
}
get getName() {
return authStore.getUser.name
get getDisplayName() {
return authStore.getUser.display_name
}
get getUserId() {
Expand Down
2 changes: 1 addition & 1 deletion components/comments/CommentUser.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
:class="{ 'pointer-events-auto': user.id !== '0' }"
>
<div class="ml-3 text-xs">
{{ user.name }}
{{ user.display_name }}
</div>
</nuxt-link>
</div>
Expand Down
2 changes: 1 addition & 1 deletion components/commons/UserTag.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
{ 'font-normal': fontWeight === 'base' }
]"
>
{{ user.name }}
{{ user.display_name }}
</div>
</nuxt-link>
</template>
Expand Down
2 changes: 1 addition & 1 deletion components/works/WorkShare.vue
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export default class WorkShare extends Vue {
}
getShareText() {
return `ToyBox\n作品名:${this.getWork.title}\n制作者:${this.getWork.user.name}\n\n`
return `ToyBox\n作品名:${this.getWork.title}\n制作者:${this.getWork.user.display_name}\n\n`
}
twitterURL() {
Expand Down

0 comments on commit 0ab4853

Please sign in to comment.