Fix incorrect diplay of chart on Pop'n Music old charts.
This commit is contained in:
parent
0ad7d41d73
commit
9b731a6818
@ -41,8 +41,21 @@ var network_scores = React.createClass({
|
||||
return 'Hyper';
|
||||
case 3:
|
||||
return 'EX';
|
||||
case 4:
|
||||
return 'Normal (no cools)';
|
||||
case 5:
|
||||
return 'Hyper (no cools)';
|
||||
case 6:
|
||||
return 'EX (no cools)';
|
||||
case 7:
|
||||
return 'Enjoy 5 Button';
|
||||
case 8:
|
||||
return 'Enjoy 9 Button';
|
||||
case 9:
|
||||
return '5 Button';
|
||||
default:
|
||||
return 'u broke it';
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
@ -104,9 +117,12 @@ var network_scores = React.createClass({
|
||||
</td>
|
||||
<td className="center">
|
||||
<div>
|
||||
<a href={Link.get('individual_score', attempt.songid, this.convertChart(attempt.chart))}>{
|
||||
this.convertChart(attempt.chart)
|
||||
}</a>
|
||||
{ attempt.chart >= 4 ?
|
||||
<span>{ this.convertChart(attempt.chart) }</span> :
|
||||
<a href={Link.get('individual_score', attempt.songid, this.convertChart(attempt.chart))}>{
|
||||
this.convertChart(attempt.chart)
|
||||
}</a>
|
||||
}
|
||||
</div>
|
||||
<div>{
|
||||
this.state.songs[attempt.songid].difficulties[attempt.chart]
|
||||
|
Loading…
x
Reference in New Issue
Block a user