Update Server's edit action to prevent change other server's data.
continuous-integration/drone/push Build is passing Details

dev
KKlochko 2 months ago
parent 3f157e5a00
commit c96aac44cd

@ -8,11 +8,13 @@ defmodule DecentralisedBookIndexWeb.DbiServerLive.Show do
{@dbi_server.name}
<:actions>
<%= if is_nil(@dbi_server.dbi_server) do %>
<.link patch={~p"/servers/#{@dbi_server}/edit"} phx-click={JS.push_focus()}>
<.edit_button>
Edit
</.edit_button>
</.link>
<% end %>
</:actions>
</.header>

Loading…
Cancel
Save