Hide njump link for users without pubkey
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-06-23 17:33:34 +02:00
parent 2605c06807
commit a07b4369ab

View File

@@ -205,7 +205,9 @@
) %>
</td>
<td class="text-right">
<% if @user.nostr_pubkey.present? %>
<%= link_to "Open profile", "https://njump.me/#{@user.nostr_pubkey_bech32}", class: "btn-sm btn-gray" %>
<% end %>
</td>
</tr>
<% end %>