@kikiloaw/simple-table 1.1.10 → 1.1.11
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 +1 -1
- package/src/SimpleTable.vue +3 -1
package/package.json
CHANGED
package/src/SimpleTable.vue
CHANGED
|
@@ -341,8 +341,10 @@ const paginationMeta = computed(() => {
|
|
|
341
341
|
})
|
|
342
342
|
|
|
343
343
|
// -- Computed: Page Numbers for Pagination --
|
|
344
|
+
const { width } = useWindowSize()
|
|
345
|
+
|
|
344
346
|
const pageNumbers = computed(() => {
|
|
345
|
-
const { width } = useWindowSize()
|
|
347
|
+
// const { width } = useWindowSize() // MOVED OUTSIDE
|
|
346
348
|
const isMobile = width.value < 640
|
|
347
349
|
const isExtraSmall = width.value < 550
|
|
348
350
|
|