Skip to content

Commit

Permalink
Merge pull request #275 from traPtitech/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
wasabi315 authored Feb 22, 2021
2 parents 15ca280 + a1a93d4 commit 7173bae
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "room-web",
"version": "1.1.2",
"version": "1.2.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
Expand Down
4 changes: 2 additions & 2 deletions src/components/group/GroupFormSummary.vue
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ export default class GroupFormSummary extends Vue {
: '自由参加できないグループです'
}
get memberNames(): (string | undefined)[] {
get memberNames(): string[] {
const nameById = this.$store.direct.getters.usersCache.nameById
return this.members.map(nameById)
return this.members.flatMap(userId => nameById(userId) ?? [])
}
get openIcon() {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Dashboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</v-col>
<v-col md="6" cols="12">
<DashboardItem>
<DashboardItemTitle>あなたの管理者のグループ</DashboardItemTitle>
<DashboardItemTitle>あなたが管理者のグループ</DashboardItemTitle>
<YourGroups />
</DashboardItem>
</v-col>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/GroupDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<v-col class="flex-grow-0">
<ActionMenu>
<v-list-item v-if="isMyGroup" :to="`/groups/edit/${groupId}`">
<v-list-item-title>Edit this event</v-list-item-title>
<v-list-item-title>Edit this group</v-list-item-title>
</v-list-item>
</ActionMenu>
</v-col>
Expand Down

0 comments on commit 7173bae

Please sign in to comment.