persist sort order
This commit is contained in:
parent
e803dbdf8b
commit
36dcf3fbe1
3 changed files with 114 additions and 17 deletions
|
|
@ -1,12 +1,13 @@
|
|||
<Layouts.app flash={@flash} current_user={@current_user}>
|
||||
<.header>
|
||||
{gettext("Members")}
|
||||
<:actions>
|
||||
<.button variant="primary" navigate={~p"/members/new"}>
|
||||
<.icon name="hero-plus" /> {gettext("New Member")}
|
||||
</.button>
|
||||
</:actions>
|
||||
</.header>
|
||||
<div id="member-sort-persistence" phx-hook="MemberSortPersistence">
|
||||
<.header>
|
||||
{gettext("Members")}
|
||||
<:actions>
|
||||
<.button variant="primary" navigate={~p"/members/new"}>
|
||||
<.icon name="hero-plus" /> {gettext("New Member")}
|
||||
</.button>
|
||||
</:actions>
|
||||
</.header>
|
||||
|
||||
<.live_component
|
||||
module={MvWeb.Components.SearchBarComponent}
|
||||
|
|
@ -205,4 +206,5 @@
|
|||
</.link>
|
||||
</:action>
|
||||
</.table>
|
||||
</div>
|
||||
</Layouts.app>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue