Merge pull request #5468 from adrianke77/fix-techdocs-landing-page-table-wrong-copied-link

fix techdocs landing page table wrong copied link
This commit is contained in:
Himanshu Mishra
2021-04-26 13:36:08 +05:30
committed by GitHub
2 changed files with 6 additions and 1 deletions
@@ -0,0 +1,5 @@
---
'@backstage/plugin-techdocs': patch
---
Fix TechDocs landing page table wrong copied link
@@ -76,7 +76,7 @@ export const DocsTable = ({
<Tooltip title="Click to copy documentation link to clipboard">
<IconButton
onClick={() =>
copyToClipboard(`${window.location.origin}/${row.docsUrl}`)
copyToClipboard(`${window.location.href}/${row.docsUrl}`)
}
>
<ShareIcon />