From 7d8c8878ff5e3f0738233168712251c6c6f4a8f5 Mon Sep 17 00:00:00 2001 From: Steffen Date: Wed, 22 Apr 2020 23:13:59 +0200 Subject: [PATCH] eslint --- src/App.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/App.vue b/src/App.vue index 9395c83..2e431c2 100644 --- a/src/App.vue +++ b/src/App.vue @@ -236,8 +236,14 @@ export default { firstNight.sort(); otherNight.sort(); newPlayers.forEach(player => { - player.firstNight = Math.max(firstNight.indexOf(player.role.firstNight), 0); - player.otherNight = Math.max(otherNight.indexOf(player.role.otherNight), 0); + player.firstNight = Math.max( + firstNight.indexOf(player.role.firstNight), + 0 + ); + player.otherNight = Math.max( + otherNight.indexOf(player.role.otherNight), + 0 + ); }); localStorage.players = JSON.stringify( newPlayers.map(player => ({