From 88df108d326573227448d4f585241f85bb5366c2 Mon Sep 17 00:00:00 2001 From: Jennifer Taylor Date: Sat, 8 Oct 2022 22:16:43 +0000 Subject: [PATCH] Add key for optionally-rendered score pagination to avoid react bug related to failing to remove old header. --- bemani/frontend/static/controllers/ddr/records.react.js | 4 ++-- bemani/frontend/static/controllers/iidx/records.react.js | 4 ++-- bemani/frontend/static/controllers/jubeat/records.react.js | 4 ++-- bemani/frontend/static/controllers/popn/records.react.js | 4 ++-- bemani/frontend/static/controllers/reflec/records.react.js | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/bemani/frontend/static/controllers/ddr/records.react.js b/bemani/frontend/static/controllers/ddr/records.react.js index 9d3dbb0..b473f0a 100644 --- a/bemani/frontend/static/controllers/ddr/records.react.js +++ b/bemani/frontend/static/controllers/ddr/records.react.js @@ -176,7 +176,7 @@ var network_records = createReactClass({ return ( <> { paginate ? -
+
{songids.map(function(songid) { if (songid < 0) { curbutton = curbutton + 1; @@ -199,7 +199,7 @@ var network_records = createReactClass({
: null } -
+
diff --git a/bemani/frontend/static/controllers/iidx/records.react.js b/bemani/frontend/static/controllers/iidx/records.react.js index 8c008a5..50c9741 100644 --- a/bemani/frontend/static/controllers/iidx/records.react.js +++ b/bemani/frontend/static/controllers/iidx/records.react.js @@ -184,7 +184,7 @@ var network_records = createReactClass({ return ( <> { paginate ? -
+
{songids.map(function(songid) { if (songid < 1000) { curbutton = curbutton + 1; @@ -207,7 +207,7 @@ var network_records = createReactClass({
: null } -
+
diff --git a/bemani/frontend/static/controllers/jubeat/records.react.js b/bemani/frontend/static/controllers/jubeat/records.react.js index 1ca758a..43bb9df 100644 --- a/bemani/frontend/static/controllers/jubeat/records.react.js +++ b/bemani/frontend/static/controllers/jubeat/records.react.js @@ -198,7 +198,7 @@ var network_records = createReactClass({ return ( <> { paginate ? -
+
{songids.map(function(songid) { if (songid < 10000000) { curbutton = curbutton + 1; @@ -221,7 +221,7 @@ var network_records = createReactClass({
: null } -
+
diff --git a/bemani/frontend/static/controllers/popn/records.react.js b/bemani/frontend/static/controllers/popn/records.react.js index 7a3d81b..466a1b3 100644 --- a/bemani/frontend/static/controllers/popn/records.react.js +++ b/bemani/frontend/static/controllers/popn/records.react.js @@ -179,7 +179,7 @@ var network_records = createReactClass({ return ( { paginate ? -
+
{songids.map(function(songid) { if (songid < 0) { curbutton = curbutton + 1; @@ -202,7 +202,7 @@ var network_records = createReactClass({
: null } -
+
diff --git a/bemani/frontend/static/controllers/reflec/records.react.js b/bemani/frontend/static/controllers/reflec/records.react.js index e8f6049..e65ee08 100644 --- a/bemani/frontend/static/controllers/reflec/records.react.js +++ b/bemani/frontend/static/controllers/reflec/records.react.js @@ -197,7 +197,7 @@ var network_records = createReactClass({ return ( { paginate ? -
+
{songids.map(function(songid) { if (songid < 0) { curbutton = curbutton + 1; @@ -220,7 +220,7 @@ var network_records = createReactClass({
: null } -
+