Skip to content

Commit 5d2496c

Browse files
authored
Merge pull request #261 from AlchemyCMS/backport/8.1-stable/pr-259
[8.1-stable] Merge pull request #259 from blish-guenzler/fix-login-link-to-dialog
2 parents 81b4230 + e052070 commit 5d2496c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/views/alchemy/admin/users/_resource_table.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<%= render_icon(:user, style: user.logged_in? ? "solid" : "regular") %>
44
<% end %>
55
<% table.column :login, sortable: true do |user| %>
6-
<% if can?(:edit, user) %>
6+
<% if can?(:edit, user) && user.login %>
77
<%= link_to_dialog user.login,
88
alchemy.edit_admin_user_path(user), {
99
title: Alchemy.t(:edit_user),

0 commit comments

Comments
 (0)