@mozaic-ds/vue 0.42.0-beta.0 → 0.42.0-beta.1
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/mozaic-vue.adeo.umd.js +10 -10
- package/dist/mozaic-vue.adeo.umd.js.map +1 -1
- package/dist/mozaic-vue.common.js +10 -10
- package/dist/mozaic-vue.common.js.map +1 -1
- package/dist/mozaic-vue.umd.js +10 -10
- package/dist/mozaic-vue.umd.js.map +1 -1
- package/dist/mozaic-vue.umd.min.js +1 -1
- package/dist/mozaic-vue.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/datatable/MDataTable.vue +2 -1
package/package.json
CHANGED
|
@@ -203,6 +203,7 @@ function autoGenerateHeaders(data, headers) {
|
|
|
203
203
|
/** Build options to manage request. */
|
|
204
204
|
function buildOptions(
|
|
205
205
|
pagingEnabled,
|
|
206
|
+
pagingTotalPage,
|
|
206
207
|
pagerValue,
|
|
207
208
|
pagingIndex,
|
|
208
209
|
pagingSize,
|
|
@@ -220,7 +221,7 @@ function buildOptions(
|
|
|
220
221
|
|
|
221
222
|
return {
|
|
222
223
|
sort: columnSorters,
|
|
223
|
-
skip: pagingEnabled ? pagerValue * (index - 1) : null,
|
|
224
|
+
skip: (pagingEnabled || pagingTotalPage) ? pagerValue * (index - 1) : null,
|
|
224
225
|
take: pagingEnabled ? pagerValue : null,
|
|
225
226
|
};
|
|
226
227
|
}
|