Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

fix: copy module link title (#6362)

Vamsi Krishna9062a7b67d57
diff --git a/web/core/components/modules/links/list-item.tsx b/web/core/components/modules/links/list-item.tsx
index 49f48f1166..9f36e0f96e 100644
--- a/web/core/components/modules/links/list-item.tsx
+++ b/web/core/components/modules/links/list-item.tsx
@@ -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]" />