diff --git a/package-lock.json b/package-lock.json index 788aa5a..e6d6955 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ucentral-client", - "version": "2.4.2", + "version": "2.4.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "ucentral-client", - "version": "2.4.2", + "version": "2.4.1", "dependencies": { "@coreui/coreui": "^3.4.0", "@coreui/icons": "^2.0.1", @@ -32,7 +32,7 @@ "react-tooltip": "^4.2.21", "react-widgets": "^5.1.1", "sass": "^1.35.1", - "ucentral-libs": "^1.0.34", + "ucentral-libs": "^1.0.31", "uuid": "^8.3.2" }, "devDependencies": { @@ -14842,9 +14842,9 @@ } }, "node_modules/ucentral-libs": { - "version": "1.0.34", - "resolved": "https://registry.npmjs.org/ucentral-libs/-/ucentral-libs-1.0.34.tgz", - "integrity": "sha512-2xMb0dOslnf/3rHW68HEPZvCe1t0tZZz1zsUtvhBVWK50PyvS7K5etRab//d8VbM7lhMUpEnoz+rCG+n5c1fRw==", + "version": "1.0.31", + "resolved": "https://registry.npmjs.org/ucentral-libs/-/ucentral-libs-1.0.31.tgz", + "integrity": "sha512-lTMPHkzXpWJrPJPUG1L9KsNPMiJGgZLJmblhh22OFQBSbjnrT28ub0Xt8LjAdRaSEAId+MfnGwA6coGMvpg6pA==", "dependencies": { "@coreui/coreui": "^3.4.0", "@coreui/icons": "^2.0.1", @@ -27716,9 +27716,9 @@ } }, "ucentral-libs": { - "version": "1.0.34", - "resolved": "https://registry.npmjs.org/ucentral-libs/-/ucentral-libs-1.0.34.tgz", - "integrity": "sha512-2xMb0dOslnf/3rHW68HEPZvCe1t0tZZz1zsUtvhBVWK50PyvS7K5etRab//d8VbM7lhMUpEnoz+rCG+n5c1fRw==", + "version": "1.0.31", + "resolved": "https://registry.npmjs.org/ucentral-libs/-/ucentral-libs-1.0.31.tgz", + "integrity": "sha512-lTMPHkzXpWJrPJPUG1L9KsNPMiJGgZLJmblhh22OFQBSbjnrT28ub0Xt8LjAdRaSEAId+MfnGwA6coGMvpg6pA==", "requires": { "@coreui/coreui": "^3.4.0", "@coreui/icons": "^2.0.1", diff --git a/package.json b/package.json index febcc40..476f8b2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ucentral-client", - "version": "2.4.2", + "version": "2.4.1", "dependencies": { "@coreui/coreui": "^3.4.0", "@coreui/icons": "^2.0.1", @@ -26,7 +26,7 @@ "react-tooltip": "^4.2.21", "react-widgets": "^5.1.1", "sass": "^1.35.1", - "ucentral-libs": "^1.0.34", + "ucentral-libs": "^1.0.31", "uuid": "^8.3.2" }, "main": "index.js", diff --git a/src/components/DeviceListTable/index.js b/src/components/DeviceListTable/index.js index cacffd6..e45048d 100644 --- a/src/components/DeviceListTable/index.js +++ b/src/components/DeviceListTable/index.js @@ -68,7 +68,7 @@ const DeviceList = () => { axiosInstance .get( `${endpoints.owgw}/api/v1/devices?deviceWithStatus=true&limit=${devicePerPage}&offset=${ - devicePerPage * selectedPage + devicePerPage * selectedPage + 1 }`, options, )