From 7f28252ae8afb7b95254706ecca3e222f9a462d3 Mon Sep 17 00:00:00 2001 From: Jonny Date: Wed, 29 May 2019 08:32:42 +0200 Subject: [PATCH] Fix bug preventing the edit match modal from showing to the owner --- pages/tournament.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/tournament.js b/pages/tournament.js index 826d196..b5972b2 100644 --- a/pages/tournament.js +++ b/pages/tournament.js @@ -19,14 +19,14 @@ import {Match} from '../js/components/Match'; class PrivateTournamentPage extends React.Component { render() { - const {ownerUsername, playoffStages} = this.props.tournament; + const {owner_username, playoffStages} = this.props.tournament; const {isSignedIn, username} = this.props; // TODO: Change href-prop of the anchor tag to contain the tournament code return (
- {playoffStages.map(stage => )}