Skip to content

Commit 7cfbad9

Browse files
authored
Merge pull request #200 from electricBonfire/patch-1
Update Pagination
2 parents 1325d7b + 2108248 commit 7cfbad9

File tree

1 file changed

+1
-1
lines changed
  • templates/react/components/foo

1 file changed

+1
-1
lines changed

templates/react/components/foo/List.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ class List extends Component {
103103

104104
pagination() {
105105
const view = this.props.retrieved && this.props.retrieved['hydra:view'];
106-
if (!view) return;
106+
if (!view || !view['hydra:first']) return;
107107

108108
const {
109109
'hydra:first': first,

0 commit comments

Comments
 (0)