yarn: Upgrade packages
- react: 16.13.1 - react-admin: 3.4.0 - prettier: 2.0.0 Change-Id: Ibbd4ff2bd8054a7086d194229ec732c1a256579c
This commit is contained in:
parent
445c7fc327
commit
2240559f74
4 changed files with 277 additions and 486 deletions
|
@ -141,13 +141,7 @@ const dataProvider = {
|
|||
|
||||
return jsonClient(url).then(({ headers, json }) => ({
|
||||
data: json,
|
||||
total: parseInt(
|
||||
headers
|
||||
.get("content-range")
|
||||
.split("/")
|
||||
.pop(),
|
||||
10
|
||||
),
|
||||
total: parseInt(headers.get("content-range").split("/").pop(), 10),
|
||||
}));
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue