Skip to content

Commit

Permalink
fix: copy module link title (#6362)
Browse files Browse the repository at this point in the history
  • Loading branch information
mathalav55 authored Jan 9, 2025
1 parent 89603bb commit 9062a7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/core/components/modules/links/list-item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export const ModulesLinksListItem: React.FC<Props> = observer((props) => {
</button>
)}
<span
onClick={() => copyToClipboard(link.title && link.title !== "" ? link.title : link.url)}
onClick={() => copyToClipboard(link.url)}
className="grid place-items-center p-1 hover:bg-custom-background-80 cursor-pointer"
>
<Copy className="h-3.5 w-3.5 stroke-[1.5]" />
Expand Down

0 comments on commit 9062a7b

Please sign in to comment.