mirror of
https://github.com/typemill/typemill.git
synced 2025-07-29 02:10:20 +02:00
V2.4.2 fix paging in medialib
This commit is contained in:
@@ -33,7 +33,7 @@ const medialib = {
|
||||
<ul class="w-full flex flex-wrap py-3 text-xs">
|
||||
<li v-for="num in totalPages" :key="num" class="py-1">
|
||||
<button
|
||||
@click="goToPage(num)"
|
||||
@click.prevent="goToPage(num)"
|
||||
class="bg-white py-2 px-1 mr-1 w-7 hover:bg-stone-900 hover:text-white transition duration-100"
|
||||
:class="{'bg-stone-900 text-white': num === currentPage}"
|
||||
>{{ num }}</button>
|
||||
|
Reference in New Issue
Block a user