ods-component-lib 1.18.61 → 1.18.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1 -1
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -16779,7 +16779,7 @@ var OdsRemoteDataGrid = function OdsRemoteDataGrid(props) {
|
|
|
16779
16779
|
totalPageCount = data.PageCount;
|
|
16780
16780
|
} else {
|
|
16781
16781
|
var totalCount;
|
|
16782
|
-
if (
|
|
16782
|
+
if (response) totalCount = response.headers.get('x-total-count');
|
|
16783
16783
|
if (totalCount == null) totalCount = data === null || data === void 0 ? void 0 : data.rowCount;
|
|
16784
16784
|
if (totalCount == null) totalCount = data === null || data === void 0 ? void 0 : data.length;
|
|
16785
16785
|
totalRecordCount = parseInt(totalCount, 10) || 0;
|