mirror of
https://github.com/logto-io/logto.git
synced 2025-03-10 22:22:45 -05:00
fix(console): should use organization role tag in user details page (#4836)
This commit is contained in:
parent
4bcb9a7b98
commit
e019252f5f
1 changed files with 2 additions and 1 deletions
|
@ -8,6 +8,7 @@ import OrganizationIcon from '@/assets/icons/organization-preview.svg';
|
|||
import Tip from '@/assets/icons/tip.svg';
|
||||
import EmptyDataPlaceholder from '@/components/EmptyDataPlaceholder';
|
||||
import ItemPreview from '@/components/ItemPreview';
|
||||
import { RoleOption } from '@/components/OrganizationRolesSelect';
|
||||
import ThemedIcon from '@/components/ThemedIcon';
|
||||
import CopyToClipboard from '@/ds-components/CopyToClipboard';
|
||||
import IconButton from '@/ds-components/IconButton';
|
||||
|
@ -82,7 +83,7 @@ function UserOrganizations() {
|
|||
<div className={styles.roles}>
|
||||
{organizationRoles.map(({ id, name }) => (
|
||||
<Tag key={id} variant="cell">
|
||||
{name}
|
||||
<RoleOption value={id} title={name} />
|
||||
</Tag>
|
||||
))}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue