diff --git a/lib/ash_admin/components/resource/show.ex b/lib/ash_admin/components/resource/show.ex index 52e2ad7..c47c9fb 100644 --- a/lib/ash_admin/components/resource/show.ex +++ b/lib/ash_admin/components/resource/show.ex @@ -397,6 +397,14 @@ defmodule AshAdmin.Components.Resource.Show do """ end else + assigns = + assign(assigns, + resource: resource, + record: record, + attribute: attribute, + nested: nested? + ) + if attribute.type == Ash.Type.String do cond do short_text?(resource, attribute) ->