fix navigation
This commit is contained in:
@ -73,7 +73,7 @@ defmodule SomethingErlangWeb.ThreadLive do
|
|||||||
<%= for btn <- buttons(@thread) do %>
|
<%= for btn <- buttons(@thread) do %>
|
||||||
<.link
|
<.link
|
||||||
class={["btn btn-sm btn-ghost", btn.special]}
|
class={["btn btn-sm btn-ghost", btn.special]}
|
||||||
patch={~p"/thread/#{@thread.id}?page=#{btn.page}"}
|
navigate={~p"/thread/#{@thread.id}?page=#{btn.page}"}
|
||||||
>
|
>
|
||||||
<.label_button label={btn.label} page={btn.page} />
|
<.label_button label={btn.label} page={btn.page} />
|
||||||
</.link>
|
</.link>
|
||||||
|
Reference in New Issue
Block a user