Skip to content

Commit

Permalink
missing $ for pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
Siva Sivakumar committed Oct 23, 2024
1 parent 2b0e819 commit 0dc9ad4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/routes/[release]/Pagination.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
</svg>
</button>
<button class="ml-2 text-white rounded
{end == total ? 'bg-gray-300 dark:bg-gray-500 opacity-50 cursor-not-allowed' : 'bg-gray-400 hover:bg-gray-600'}"
disabled="{end == total}" on:click={() => updateTable($end)}>
{$end == $total ? 'bg-gray-300 dark:bg-gray-500 opacity-50 cursor-not-allowed' : 'bg-gray-400 hover:bg-gray-600'}"
disabled="{$end == $total}" on:click={() => updateTable($end)}>
<svg class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
<path fill-rule="evenodd" d="M7.21 14.77a.75.75 0 01.02-1.06L11.168 10 7.23 6.29a.75.75 0 111.04-1.08l4.5 4.25a.75.75 0 010 1.08l-4.5 4.25a.75.75 0 01-1.06-.02z" clip-rule="evenodd"/>
</svg>
Expand Down
4 changes: 2 additions & 2 deletions src/routes/[release]/compare/[xy]/Pagination.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
</svg>
</button>
<button class="ml-2 text-white rounded
{end == total ? 'bg-gray-300 dark:bg-gray-500 opacity-50 cursor-not-allowed' : 'bg-gray-400 hover:bg-gray-600'}"
disabled="{end == total}" on:click={() => updateTable($end)}>
{$end == $total ? 'bg-gray-300 dark:bg-gray-500 opacity-50 cursor-not-allowed' : 'bg-gray-400 hover:bg-gray-600'}"
disabled="{$end == $total}" on:click={() => updateTable($end)}>
<svg class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
<path fill-rule="evenodd" d="M7.21 14.77a.75.75 0 01.02-1.06L11.168 10 7.23 6.29a.75.75 0 111.04-1.08l4.5 4.25a.75.75 0 010 1.08l-4.5 4.25a.75.75 0 01-1.06-.02z" clip-rule="evenodd"/>
</svg>
Expand Down
4 changes: 2 additions & 2 deletions src/routes/compare/[xy]/Pagination.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
</svg>
</button>
<button class="ml-2 text-white rounded
{end == total ? 'bg-gray-300 dark:bg-gray-500 opacity-50 cursor-not-allowed' : 'bg-gray-400 hover:bg-gray-600'}"
disabled="{end == total}" on:click={() => updateTable($end)}>
{$end == $total ? 'bg-gray-300 dark:bg-gray-500 opacity-50 cursor-not-allowed' : 'bg-gray-400 hover:bg-gray-600'}"
disabled="{$end == $total}" on:click={() => updateTable($end)}>
<svg class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
<path fill-rule="evenodd" d="M7.21 14.77a.75.75 0 01.02-1.06L11.168 10 7.23 6.29a.75.75 0 111.04-1.08l4.5 4.25a.75.75 0 010 1.08l-4.5 4.25a.75.75 0 01-1.06-.02z" clip-rule="evenodd"/>
</svg>
Expand Down

0 comments on commit 0dc9ad4

Please sign in to comment.