Skip to content

Commit

Permalink
Merge pull request #432 from Zaker237/fix-pagination
Browse files Browse the repository at this point in the history
Fix pagination
  • Loading branch information
Theryx authored Jul 31, 2023
2 parents 0fac9c6 + c58eb51 commit 533d673
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions frontend/components/JobPagination.vue
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,10 @@
md:text-sm
font-medium
cursor-pointer
${page === current1 ? 'bg-blue' : 'bg-white'}
${page === currentleft ? 'bg-blue' : 'bg-white'}
`"
>
{{ current1 }}
{{ currentleft }}
</span>
</div>
<div>
Expand Down Expand Up @@ -193,7 +193,7 @@
md:text-sm
font-medium
cursor-pointer
${page === current1 ? 'bg-blue' : 'bg-white'}
${page === current ? 'bg-blue' : 'bg-white'}
`"
>
{{ current }}
Expand Down
10 changes: 5 additions & 5 deletions frontend/components/Pagination.vue
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
<div @click="previewpage()">
<span
:class="`z-10
border
border
border-gray-300
relative
inline-flex
Expand Down Expand Up @@ -137,7 +137,7 @@
>
<span
:class="`z-10
border
border
border-gray-300
text-gray-500
relative
Expand All @@ -150,10 +150,10 @@
md:text-sm
font-medium
cursor-pointer
${page === current1 ? 'bg-blue' : 'bg-white'}
${page === currentleft ? 'bg-blue' : 'bg-white'}
`"
>
{{ current1 }}
{{ currentleft }}
</span>
</div>
<div>
Expand All @@ -171,7 +171,7 @@
<span
:class="`
z-10
border
border
border-gray-300
text-gray-500
relative
Expand Down

0 comments on commit 533d673

Please sign in to comment.