Remove delete action for DBIServers from Server Index LiveView.
continuous-integration/drone/push Build is passing Details

dev
KKlochko 2 months ago
parent 3db1a9ab2a
commit c7d193e2b3

@ -65,15 +65,6 @@ defmodule DecentralisedBookIndexWeb.DbiServerLive.Index do
<.link patch={~p"/servers/#{dbi_server}/edit"}>Edit</.link>
</:action>
<:action :let={dbi_server}>
<.link
phx-click={JS.push("delete", value: %{id: dbi_server.id}) |> hide("##{dbi_server.id}")}
data-confirm="Are you sure?"
>
Delete
</.link>
</:action>
</.table>
<.pagination

Loading…
Cancel
Save