diff --git a/lib/decentralised_book_index_web/live/dbi_server_live/show.ex b/lib/decentralised_book_index_web/live/dbi_server_live/show.ex
index 39c161f..403b64c 100644
--- a/lib/decentralised_book_index_web/live/dbi_server_live/show.ex
+++ b/lib/decentralised_book_index_web/live/dbi_server_live/show.ex
@@ -16,13 +16,17 @@ defmodule DecentralisedBookIndexWeb.DbiServerLive.Show do
- <.list>
- <:item title="Id">{@dbi_server.id}
- <:item title="Name">{@dbi_server.name}
-
- <:item title="Url">{@dbi_server.url}
-
+
+
+ - Url
+ - {@dbi_server.url}
+
+
+ - Sync on?
+ - {@dbi_server.sync_on?}
+
+
<.back navigate={~p"/servers"}>Back to servers
"""
@@ -40,7 +44,7 @@ defmodule DecentralisedBookIndexWeb.DbiServerLive.Show do
|> assign(:page_title, page_title(socket.assigns.live_action))
|> assign(
:dbi_server,
- Ash.get!(DecentralisedBookIndex.Metadata.DBIServer, id, actor: socket.assigns.current_user)
+ Ash.get!(DecentralisedBookIndex.Metadata.DBIServer, id, load: [:dbi_server], actor: socket.assigns.current_user)
)}
end
diff --git a/lib/decentralised_book_index_web/live/user_live/show.ex b/lib/decentralised_book_index_web/live/user_live/show.ex
index f32686a..410c9a2 100644
--- a/lib/decentralised_book_index_web/live/user_live/show.ex
+++ b/lib/decentralised_book_index_web/live/user_live/show.ex
@@ -16,10 +16,16 @@ defmodule DecentralisedBookIndexWeb.UserLive.Show do
- <.list>
- <:item title="Email">{@user.email}
- <:item title="Role">{@user.role}
-
+
+
+ - Email
+ - {@user.email}
+
+
+ - Role
+ - {@user.role}
+
+
<.back navigate={~p"/users"}>Back to users
"""