chore: Reposition 'Remove project' option for better usability
This commit is contained in:
parent
8ed68d9c19
commit
73b241c16f
@ -262,9 +262,9 @@ const SortableItem = memo(
|
|||||||
</DropdownMenuItem>
|
</DropdownMenuItem>
|
||||||
))
|
))
|
||||||
)}
|
)}
|
||||||
|
</DropdownMenuSubContent>
|
||||||
|
</DropdownMenuSub>
|
||||||
{thread.metadata?.project && (
|
{thread.metadata?.project && (
|
||||||
<>
|
|
||||||
<DropdownMenuSeparator />
|
|
||||||
<DropdownMenuItem
|
<DropdownMenuItem
|
||||||
onClick={(e) => {
|
onClick={(e) => {
|
||||||
e.stopPropagation()
|
e.stopPropagation()
|
||||||
@ -282,12 +282,9 @@ const SortableItem = memo(
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<IconX size={16} />
|
<IconX size={16} />
|
||||||
<span>Remove from project</span>
|
<span>Remove</span>
|
||||||
</DropdownMenuItem>
|
</DropdownMenuItem>
|
||||||
</>
|
|
||||||
)}
|
)}
|
||||||
</DropdownMenuSubContent>
|
|
||||||
</DropdownMenuSub>
|
|
||||||
<DropdownMenuSeparator />
|
<DropdownMenuSeparator />
|
||||||
<DeleteThreadDialog
|
<DeleteThreadDialog
|
||||||
thread={thread}
|
thread={thread}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user