plugin-ui-for-kzt 0.0.49 → 0.0.50

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "plugin-ui-for-kzt",
3
- "version": "0.0.49",
3
+ "version": "0.0.50",
4
4
  "description": "plugin-ui for kazaktelekom",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -305,6 +305,10 @@ const paginatedData = computed(() => {
305
305
  if (!props.pagination) {
306
306
  return props.data
307
307
  }
308
+
309
+ if (props.pagination.totalItems === 'number') {
310
+ return props.data
311
+ }
308
312
 
309
313
  const perPageValue = Number(perPage.value) || 10
310
314
  const start = (currentPage.value - 1) * perPageValue