diff options
Diffstat (limited to 'src/components/SessionList.vue')
-rw-r--r-- | src/components/SessionList.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/SessionList.vue b/src/components/SessionList.vue index c2d97605e..67ca08d8a 100644 --- a/src/components/SessionList.vue +++ b/src/components/SessionList.vue @@ -70,8 +70,8 @@ export default { computed: { editorsTooltip() { if (this.sessionsPopover.length > 0) { - let first = this.activeSessions.slice(0, 3).map((session) => session.guestName ? session.guestName : session.displayName).join(', ') - let others = this.activeSessions.slice(3).length + const first = this.activeSessions.slice(0, 3).map((session) => session.guestName ? session.guestName : session.displayName).join(', ') + const others = this.activeSessions.slice(3).length return first + ' ' + n('text', 'and %n other editor', 'and %n other editors', others) } return this.activeSessions.slice(0, 3).map((session) => session.guestName ? session.guestName : session.displayName).join(', ') |