Allow pagination component to be used multiple times

Enables further experimentation with multiple pagination controls on the
same page (not necessarily a good idea).
This commit is contained in:
Claudio Ortolina
2024-10-08 08:56:25 +01:00
parent b01e335db1
commit 8e615658f8
2 changed files with 4 additions and 2 deletions
@@ -23,6 +23,7 @@
of <b><%= @record_list_params.total_entries %></b>
records
</p>
<.table
id="records"
rows={@streams.records}
@@ -108,4 +109,4 @@
/>
</.modal>
<.pagination pagination_params={@record_list_params} />
<.pagination id={:bottom_pagination} pagination_params={@record_list_params} />