mirror of
https://github.com/jumpserver/lina.git
synced 2025-07-15 07:51:58 +00:00
Merge pull request #2429 from jumpserver/pr@dev@user_profile
perf: user profile
This commit is contained in:
commit
524e3499a1
@ -228,11 +228,11 @@ export default {
|
||||
key: this.$t('users.Name')
|
||||
},
|
||||
{
|
||||
value: this.object.system_roles_display,
|
||||
value: this.object.system_roles.map(item => item.display_name).join(' | '),
|
||||
key: this.$t('users.SystemRoles')
|
||||
},
|
||||
{
|
||||
value: this.object.org_roles_display,
|
||||
value: this.object.org_roles.map(item => item.display_name).join(' | '),
|
||||
key: this.$t('users.OrgRoles')
|
||||
},
|
||||
{
|
||||
@ -253,11 +253,11 @@ export default {
|
||||
}
|
||||
},
|
||||
{
|
||||
value: this.object.mfa_level_display,
|
||||
value: this.object.mfa_level.label,
|
||||
key: this.$t('users.MfaLevel')
|
||||
},
|
||||
{
|
||||
value: this.object.source_display,
|
||||
value: this.object.source.label,
|
||||
key: this.$t('users.Source')
|
||||
},
|
||||
{
|
||||
@ -277,7 +277,7 @@ export default {
|
||||
key: this.$t('users.DateExpired')
|
||||
},
|
||||
{
|
||||
value: this.object.groups_display,
|
||||
value: this.object.workbench_orgs.filter(item => !item.is_root).map(item => item.name).join(' | '),
|
||||
key: this.$t('users.UserGroups')
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user