diff options
author | Ernst Widerberg <ernst@sunet.se> | 2021-11-25 09:23:15 +0100 |
---|---|---|
committer | Ernst Widerberg <ernst@sunet.se> | 2021-11-25 09:23:15 +0100 |
commit | fe6f249df494aff69455beb5c1b3e69dc658eaf0 (patch) | |
tree | 79ab5ee34f7bd0de42ff250ba5ec4d027a791213 | |
parent | 9e03be9890049250e174cbb7e0c89c27ce39e41f (diff) |
Remove X-Total-Pages parsing from ObjectView
-rw-r--r-- | src/components/ObjectView.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/components/ObjectView.js b/src/components/ObjectView.js index 72c7e5c..fda636b 100644 --- a/src/components/ObjectView.js +++ b/src/components/ObjectView.js @@ -28,9 +28,6 @@ class ObjectView extends React.Component { throw new Error( `Unexpected HTTP response code from soc_collector: ${resp.status} ${resp.statusText}` ); - this.setState({ - totalPages: resp.headers.get("X-Total-Count") - }); return resp.json(); }) .then(json => { |