Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-10-28 14:04:02 +0300
committerJulius Härtl <jus@bitgrid.net>2019-11-04 21:36:04 +0300
commitbb27d1f9dda35eebcff3101fb14b38acf8e0736b (patch)
treef98244998d470a3363a89d99757ff47159e2619a /src/components/SessionList.vue
parentc0060f3aa6a45a6bd41d76863e175f1fb3d70d4a (diff)
Adjust to new eslint rules
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'src/components/SessionList.vue')
-rw-r--r--src/components/SessionList.vue4
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(', ')