Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>
update(state, id, (explorer) => {
// Reject updates to pages other than current,
// DataExplorer middleware should retry
update(state, id, (explorer) => {
// Reject updates to pages other than current,
// DataExplorer middleware should retry
- if (explorer.page === page) {
+ const updatedPage = page || 0;
+ if (explorer.page === updatedPage) {
return {
...explorer,
items,
itemsAvailable,
return {
...explorer,
items,
itemsAvailable,