diff --git a/package.json b/package.json index 3cfe1bd0..aa2d3074 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "room-web", - "version": "1.1.2", + "version": "1.2.0", "private": true, "scripts": { "serve": "vue-cli-service serve", diff --git a/src/components/group/GroupFormSummary.vue b/src/components/group/GroupFormSummary.vue index f2d15ad8..ea83a096 100644 --- a/src/components/group/GroupFormSummary.vue +++ b/src/components/group/GroupFormSummary.vue @@ -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() { diff --git a/src/pages/Dashboard.vue b/src/pages/Dashboard.vue index 1b7fb30f..df5b44ac 100644 --- a/src/pages/Dashboard.vue +++ b/src/pages/Dashboard.vue @@ -17,7 +17,7 @@ - あなたの管理者のグループ + あなたが管理者のグループ diff --git a/src/pages/GroupDetail.vue b/src/pages/GroupDetail.vue index 3711ac10..d70562cb 100644 --- a/src/pages/GroupDetail.vue +++ b/src/pages/GroupDetail.vue @@ -33,7 +33,7 @@ - Edit this event + Edit this group