Commit 5df00abf by flopp999 Committed by GitHub

Admin: Added Name to user list (#22939)

In Config-users Name is listed so it may also be visible in Admin-users
parent 12bb295a
...@@ -66,6 +66,7 @@ const UserListAdminPageUnConnected: React.FC<Props> = props => { ...@@ -66,6 +66,7 @@ const UserListAdminPageUnConnected: React.FC<Props> = props => {
<th></th> <th></th>
<th>Login</th> <th>Login</th>
<th>Email</th> <th>Email</th>
<th>Name</th>
<th> <th>
Seen&nbsp; Seen&nbsp;
<Tooltip placement="top" content="Time since user was seen using Grafana"> <Tooltip placement="top" content="Time since user was seen using Grafana">
...@@ -104,6 +105,9 @@ const renderUser = (user: UserDTO) => { ...@@ -104,6 +105,9 @@ const renderUser = (user: UserDTO) => {
<td className="link-td"> <td className="link-td">
<a href={editUrl}>{user.email}</a> <a href={editUrl}>{user.email}</a>
</td> </td>
<td className="link-td">
<a href={editUrl}>{user.name}</a>
</td>
<td className="link-td">{user.lastSeenAtAge && <a href={editUrl}>{user.lastSeenAtAge}</a>}</td> <td className="link-td">{user.lastSeenAtAge && <a href={editUrl}>{user.lastSeenAtAge}</a>}</td>
<td className="link-td"> <td className="link-td">
{user.isAdmin && ( {user.isAdmin && (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment