projects
/
arvados-workbench2.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1195b8
)
18029: Disable pagination next if list is empty
author
Stephen Smith <stephen@curii.com>
Fri, 10 Sep 2021 18:04:02 +0000
(14:04 -0400)
committer
Stephen Smith <stephen@curii.com>
Fri, 10 Sep 2021 18:04:02 +0000
(14:04 -0400)
Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>
src/components/data-explorer/data-explorer.tsx
patch
|
blob
|
history
diff --git
a/src/components/data-explorer/data-explorer.tsx
b/src/components/data-explorer/data-explorer.tsx
index a38d0ed65ae3c03eb9affdd76a67cf423b2fbd60..d272e870bf0caaa46c7918624fe091265fb5c762 100644
(file)
--- a/
src/components/data-explorer/data-explorer.tsx
+++ b/
src/components/data-explorer/data-explorer.tsx
@@
-134,6
+134,8
@@
export const DataExplorer = withStyles(styles)(
page={this.props.page}
onChangePage={this.changePage}
onChangeRowsPerPage={this.changeRowsPerPage}
+ // Disable next button on empty lists since that's not default behavior
+ nextIconButtonProps={(itemsAvailable > 0) ? {} : {disabled: true}}
component="div" /> : <Button
variant="text"
size="medium"