Remove delete action for DBIServers from Server Index LiveView.
continuous-integration/drone/push Build is passing
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -65,15 +65,6 @@ defmodule DecentralisedBookIndexWeb.DbiServerLive.Index do
|
|||||||
|
|
||||||
<.link patch={~p"/servers/#{dbi_server}/edit"}>Edit</.link>
|
<.link patch={~p"/servers/#{dbi_server}/edit"}>Edit</.link>
|
||||||
</:action>
|
</: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>
|
</.table>
|
||||||
|
|
||||||
<.pagination
|
<.pagination
|
||||||
|
|||||||
Reference in New Issue
Block a user