mirror of
https://github.com/outline/outline.git
synced 2026-06-13 03:14:59 +03:00
Fix: Make name text selectable instead of column sortable
- Add selectable prop to Text component in name column - Remove sortable property from column configuration - This allows users to select/copy the name text
This commit is contained in:
@@ -43,7 +43,7 @@ export function MembersTable({ canManage, ...rest }: Props) {
|
||||
<Flex align="center" gap={8}>
|
||||
<Avatar model={user} size={AvatarSize.Large} />{" "}
|
||||
<Flex column>
|
||||
<Text>
|
||||
<Text selectable>
|
||||
{user.name} {currentUser.id === user.id && `(${t("You")})`}
|
||||
</Text>
|
||||
{isMobile && canManage && (
|
||||
@@ -53,7 +53,6 @@ export function MembersTable({ canManage, ...rest }: Props) {
|
||||
</Flex>
|
||||
),
|
||||
width: "4fr",
|
||||
sortable: true,
|
||||
},
|
||||
canManage && !isMobile
|
||||
? {
|
||||
|
||||
Reference in New Issue
Block a user