RS auths without a valid domain name will not fetch any metadata and therefore not create a WebApp record. This fixes icons being looked up anyway, resulting in exceptions
27 lines
780 B
Plaintext
27 lines
780 B
Plaintext
<div class="flex items-center gap-4">
|
|
<div class="h-16 w-16 flex-none">
|
|
<%= render AppCatalog::WebAppIconComponent.new(web_app: @web_app) %>
|
|
</div>
|
|
<div class="flex-grow">
|
|
<h4 class="mb-1 text-lg font-bold">
|
|
<%= @web_app&.name || @auth.app_name %>
|
|
</h4>
|
|
<p class="text-sm text-gray-500">
|
|
<%= @auth.client_id %>
|
|
</p>
|
|
</div>
|
|
<%= render DropdownComponent.new do %>
|
|
<%= render DropdownLinkComponent.new(
|
|
href: launch_app_services_storage_rs_auth_url(@auth)
|
|
) do %>
|
|
Launch app
|
|
<% end %>
|
|
<%= render DropdownLinkComponent.new(
|
|
href: revoke_services_storage_rs_auth_url(@auth),
|
|
separator: true, add_class: "text-red-700"
|
|
) do %>
|
|
Revoke access
|
|
<% end %>
|
|
<% end %>
|
|
</div>
|