From 1a9e99ab7c3776d77563b33a1019433dc0df9000 Mon Sep 17 00:00:00 2001 From: Vincent Velociter Date: Mon, 4 Sep 2017 19:55:06 +0200 Subject: [PATCH] Only show me button if joined --- src/js/ui/tournament/detail/tournamentView.tsx | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/js/ui/tournament/detail/tournamentView.tsx b/src/js/ui/tournament/detail/tournamentView.tsx index 579d127104..3f7d793aad 100644 --- a/src/js/ui/tournament/detail/tournamentView.tsx +++ b/src/js/ui/tournament/detail/tournamentView.tsx @@ -245,12 +245,14 @@ function tournamentLeaderboard(ctrl: TournamentCtrl) { {firstPlayer + '-' + lastPlayer + ' / ' + data.nbPlayers} {renderNavButton('X', !ctrl.isLoadingPage && forwardEnabled, ctrl.next)} {renderNavButton('V', !ctrl.isLoadingPage && forwardEnabled, ctrl.last)} - + {data.me ? + : null + } )