|
|
|
@ -134,7 +134,7 @@ class CompetitionContents extends Component{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
// console.log(this.props.chartdata&&this.props.chartdata.user_ranks)
|
|
|
|
|
//console.log(chartdata&&chartdata.teams)
|
|
|
|
|
return (
|
|
|
|
|
<div>
|
|
|
|
|
{chart_rules===undefined?"":<Tabs onChange={(e)=>this.props.Competitioncallback(e)} activeKey={this.props.tabkey} tabBarExtraContent={this.props.current_user&&this.props.current_user.admin===true||this.props.current_user&&this.props.current_user.business===true?this.props.Competitionedittype===false?this.props.has_url===false?operations:"":"":""}>
|
|
|
|
@ -313,7 +313,7 @@ class CompetitionContents extends Component{
|
|
|
|
|
})}
|
|
|
|
|
</div>}
|
|
|
|
|
<Row className={"mt20 mb80"}>
|
|
|
|
|
{chartdata===undefined?"":chartdata.teams.length===0||chartdata.teams.length<3?"":<Table className="Competitiontransparent" columns={columns} dataSource={data} showHeader={false} pagination={false}/>}
|
|
|
|
|
{chartdata===undefined?"":chartdata.teams.length===0||chartdata.teams.length<4?"":<Table className="Competitiontransparent" columns={columns} dataSource={data} showHeader={false} pagination={false}/>}
|
|
|
|
|
</Row>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|