Skip to content

Commit

Permalink
fix pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
SethSharp committed Oct 14, 2024
1 parent f62ab9a commit e37a97b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@alpinejs/intersect": "^3.13.7",
"@headlessui/vue": "^1.7.16",
"@heroicons/vue": "^2.0.18",
"@sethsharp/lumuix": "^1.0.0-alpha.10.1",
"@sethsharp/lumuix": "^1.0.0-alpha.10.2",
"@tiptap/extension-bubble-menu": "^2.2.1",
"@tiptap/extension-code-block-lowlight": "^2.2.4",
"@tiptap/extension-document": "^2.2.1",
Expand Down
4 changes: 2 additions & 2 deletions resources/js/Layouts/IndexBlogsLayout.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<script setup>
import { computed } from 'vue'
import { router, Link } from '@inertiajs/vue3'
import { Button, LumuixTabs, LumuixPagination } from '@sethsharp/lumuix'
import AuthenticatedLayout from '@/Layouts/AuthenticatedLayout.vue'
import { computed } from 'vue'
defineProps({
status: String,
Expand Down Expand Up @@ -50,7 +50,7 @@ const computedTabs = computed(() => [
<LumuixTabs :tabs="computedTabs" :data="data">
<slot />

<LumuixPagination :data="data" />
<LumuixPagination :as="Link" :data="data" />
</LumuixTabs>
</div>
</AuthenticatedLayout>
Expand Down
4 changes: 2 additions & 2 deletions resources/js/Layouts/IndexTagsLayout.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<script setup>
import { Link } from '@inertiajs/vue3'
import { computed, onMounted, onUpdated } from 'vue'
import { LumuixPagination, LumuixTabs } from '@sethsharp/lumuix'
import AuthenticatedLayout from '@/Layouts/AuthenticatedLayout.vue'
import { Link } from '@inertiajs/vue3'
const props = defineProps({
count: Number,
Expand Down Expand Up @@ -50,7 +50,7 @@ onMounted(() => {
<LumuixTabs :tabs="computedTabs">
<slot />

<LumuixPagination :data="data" />
<LumuixPagination :as="Link" :data="data" />
</LumuixTabs>
</div>
</AuthenticatedLayout>
Expand Down

0 comments on commit e37a97b

Please sign in to comment.