@innertia-solutions/nuxt-theme-spark 0.1.43 → 0.1.44
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/components/Table.vue +1 -1
- package/package.json +1 -1
package/components/Table.vue
CHANGED
|
@@ -37,7 +37,7 @@ const isDataFromCache = ref(false)
|
|
|
37
37
|
const lastDataLength = ref(10)
|
|
38
38
|
const lastRowHeight = ref(48)
|
|
39
39
|
const tableBodyRef = ref(null)
|
|
40
|
-
const skeletonRows = computed(() => Array.from({ length: lastDataLength.value }))
|
|
40
|
+
const skeletonRows = computed(() => Array.from({ length: Math.max(lastDataLength.value, pagination.value.pageSize) }))
|
|
41
41
|
const isGridView = computed(() => props.viewMode === 'grid')
|
|
42
42
|
|
|
43
43
|
// ─── TanStack state ───────────────────────────────────────────────────────────
|