Skip to content

Commit 9062a7b

Browse files
fix: copy module link title (#6362)
1 parent 89603bb commit 9062a7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/core/components/modules/links/list-item.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export const ModulesLinksListItem: React.FC<Props> = observer((props) => {
6666
</button>
6767
)}
6868
<span
69-
onClick={() => copyToClipboard(link.title && link.title !== "" ? link.title : link.url)}
69+
onClick={() => copyToClipboard(link.url)}
7070
className="grid place-items-center p-1 hover:bg-custom-background-80 cursor-pointer"
7171
>
7272
<Copy className="h-3.5 w-3.5 stroke-[1.5]" />

0 commit comments

Comments
 (0)