Merge pull request #4005 from feitianbubu/fix/header-role-i18n
fix(ui): localize user role label in app header
This commit is contained in:
1 file changed
+2
-2
@@ -121,8 +121,8 @@
|
||||
<div class="text-sm font-medium text-gray-900 dark:text-white">
|
||||
{{ displayName }}
|
||||
</div>
|
||||
<div class="text-xs capitalize text-gray-500 dark:text-dark-400">
|
||||
{{ user.role }}
|
||||
<div class="text-xs text-gray-500 dark:text-dark-400">
|
||||
{{ t('admin.users.roles.' + user.role) }}
|
||||
</div>
|
||||
</div>
|
||||
<Icon name="chevronDown" size="sm" class="hidden text-gray-400 md:block" />
|
||||
|
||||
Reference in new issue
Block a user