diff --git a/app/views/admin/users/show.html.erb b/app/views/admin/users/show.html.erb index 4184e31..55ae328 100644 --- a/app/views/admin/users/show.html.erb +++ b/app/views/admin/users/show.html.erb @@ -205,7 +205,9 @@ ) %> + <% if @user.nostr_pubkey.present? %> <%= link_to "Open profile", "https://njump.me/#{@user.nostr_pubkey_bech32}", class: "btn-sm btn-gray" %> + <% end %> <% end %>