From ff94d9c0f7b8f1cd30d981c2e27e3a0ee1dac710 Mon Sep 17 00:00:00 2001 From: mathsuky Date: Thu, 21 Dec 2023 13:43:19 +0900 Subject: [PATCH] =?UTF-8?q?=E5=90=8D=E7=A7=B0=E3=82=92=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/event/EventFormSummary.vue | 26 +++++++++++------------ 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/components/event/EventFormSummary.vue b/src/components/event/EventFormSummary.vue index ddb47e00..5131c2f8 100644 --- a/src/components/event/EventFormSummary.vue +++ b/src/components/event/EventFormSummary.vue @@ -49,12 +49,12 @@ - Targets + Invitees -
- 対象者はいません +
+ 参加予定者はいません
- +
@@ -149,7 +149,7 @@ export default class EventFormSummary extends Vue { sharedRoom!: boolean page: number = 1 - targetsPerPage: number = 6 + inviteesPerPage: number = 6 get sharedRoomString(): string { return this.sharedRoom ? '部屋の共用可能' : '部屋の共用不可能' @@ -177,20 +177,20 @@ export default class EventFormSummary extends Vue { return formatDate(DATETIME_DISPLAY_FORMAT) } - get targets(): ResponseUser[] { + get invitees(): ResponseUser[] { const userById = this.$store.direct.getters.usersCache.userById if (!this.content.group) return [] - let targets = this.content.group.members.flatMap(userId => { + let invitees = this.content.group.members.flatMap(userId => { const user = userById(userId) return user ? user : [] }) - return targets + return invitees } - get targetsSlice(): ResponseUser[] { - return this.targets.slice( - (this.page - 1) * this.targetsPerPage, - this.page * this.targetsPerPage + get inviteesSlice(): ResponseUser[] { + return this.invitees.slice( + (this.page - 1) * this.inviteesPerPage, + this.page * this.inviteesPerPage ) } }