Don't show njump link when no pubkey set

This commit is contained in:
raucao committed 2025-05-27 17:35:48 +04:00
1 parent 7a8ca0707a
commit fff7527694
1 file changed
+2
+2
View File
@@ -278,7 +278,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 %>