fix navigation
This commit is contained in:
@ -73,7 +73,7 @@ defmodule SomethingErlangWeb.ThreadLive do
|
||||
<%= for btn <- buttons(@thread) do %>
|
||||
<.link
|
||||
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} />
|
||||
</.link>
|
||||
|
Reference in New Issue
Block a user