From 25dfd57708f73c76a005b876deca01373a11debc Mon Sep 17 00:00:00 2001 From: Jonny Date: Thu, 2 May 2019 13:39:47 +0200 Subject: [PATCH] Add a client side animation of the collapse of the current standings table --- pages/tournament-statistics.js | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/pages/tournament-statistics.js b/pages/tournament-statistics.js index 6a1e3d4..e7700ab 100644 --- a/pages/tournament-statistics.js +++ b/pages/tournament-statistics.js @@ -5,6 +5,7 @@ import { Button, Card, CardBody, + Collapse, Container, ListGroup, ListGroupItem, @@ -71,22 +72,31 @@ class StatisticsComponent extends React.Component {

Aktuelle Rangliste

- + + + { map(sortedPerformances, (team, index) => ( - ), 0, (this.state.showFullTable)? undefined : 3) } + ), 0, 3) } + + + { map(sortedPerformances, (team, index) => ( + + ), 3) } + + - +
# Team Name Match Differenz Punkt Differenz