Add key for optionally-rendered score pagination to avoid react bug related to failing to remove old header.
This commit is contained in:
parent
3843e37d4e
commit
88df108d32
@ -176,7 +176,7 @@ var network_records = createReactClass({
|
||||
return (
|
||||
<>
|
||||
{ paginate ?
|
||||
<div className="section">
|
||||
<div className="section" key="paginatebuttons">
|
||||
{songids.map(function(songid) {
|
||||
if (songid < 0) {
|
||||
curbutton = curbutton + 1;
|
||||
@ -199,7 +199,7 @@ var network_records = createReactClass({
|
||||
</div> :
|
||||
null
|
||||
}
|
||||
<div className="section">
|
||||
<div className="section" key="contents">
|
||||
<table className="list records">
|
||||
<thead></thead>
|
||||
<tbody>
|
||||
|
@ -184,7 +184,7 @@ var network_records = createReactClass({
|
||||
return (
|
||||
<>
|
||||
{ paginate ?
|
||||
<div className="section">
|
||||
<div className="section" key="paginatebuttons">
|
||||
{songids.map(function(songid) {
|
||||
if (songid < 1000) {
|
||||
curbutton = curbutton + 1;
|
||||
@ -207,7 +207,7 @@ var network_records = createReactClass({
|
||||
</div> :
|
||||
null
|
||||
}
|
||||
<div className="section">
|
||||
<div className="section" key="contents">
|
||||
<table className="list records">
|
||||
<thead></thead>
|
||||
<tbody>
|
||||
|
@ -198,7 +198,7 @@ var network_records = createReactClass({
|
||||
return (
|
||||
<>
|
||||
{ paginate ?
|
||||
<div className="section">
|
||||
<div className="section" key="paginatebuttons">
|
||||
{songids.map(function(songid) {
|
||||
if (songid < 10000000) {
|
||||
curbutton = curbutton + 1;
|
||||
@ -221,7 +221,7 @@ var network_records = createReactClass({
|
||||
</div> :
|
||||
null
|
||||
}
|
||||
<div className="section">
|
||||
<div className="section" key="contents">
|
||||
<table className="list records">
|
||||
<thead></thead>
|
||||
<tbody>
|
||||
|
@ -179,7 +179,7 @@ var network_records = createReactClass({
|
||||
return (
|
||||
<span>
|
||||
{ paginate ?
|
||||
<div className="section popn-nav">
|
||||
<div className="section popn-nav" key="paginatebuttons">
|
||||
{songids.map(function(songid) {
|
||||
if (songid < 0) {
|
||||
curbutton = curbutton + 1;
|
||||
@ -202,7 +202,7 @@ var network_records = createReactClass({
|
||||
</div> :
|
||||
null
|
||||
}
|
||||
<div className="section">
|
||||
<div className="section" key="contents">
|
||||
<table className="list records">
|
||||
<thead></thead>
|
||||
<tbody>
|
||||
|
@ -197,7 +197,7 @@ var network_records = createReactClass({
|
||||
return (
|
||||
<span>
|
||||
{ paginate ?
|
||||
<div className="section">
|
||||
<div className="section" key="paginatebuttons">
|
||||
{songids.map(function(songid) {
|
||||
if (songid < 0) {
|
||||
curbutton = curbutton + 1;
|
||||
@ -220,7 +220,7 @@ var network_records = createReactClass({
|
||||
</div> :
|
||||
null
|
||||
}
|
||||
<div className="section">
|
||||
<div className="section" key="contents">
|
||||
<table className="list records">
|
||||
<thead></thead>
|
||||
<tbody>
|
||||
|
Loading…
x
Reference in New Issue
Block a user