feat: add display name column to admin users list (#3740)

This commit is contained in:
David Wheatley 2023-02-21 13:04:53 +00:00 committed by GitHub
parent 408a92b4ea
commit 906b0fb633
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions

View File

@ -283,6 +283,15 @@ export default class UserListPage extends AdminPage {
90
);
columns.add(
'displayName',
{
name: app.translator.trans('core.admin.users.grid.columns.display_name.title'),
content: (user: User) => user.displayName(),
},
85
);
columns.add(
'joinDate',
{

View File

@ -245,6 +245,9 @@ core:
grid:
columns:
display_name:
title: Display name
edit_user:
button: => core.ref.edit
title: => core.ref.edit_user