mirror of
https://github.com/Myxelium/Bridge-Multi.git
synced 2026-04-11 14:19:38 +00:00
Copy chart link button
This commit is contained in:
@@ -73,6 +73,9 @@ export class ChartSidebarMenutComponent implements OnInit {
|
||||
.replace(/^\/|\/$/g, '')
|
||||
}
|
||||
|
||||
copyLink(hash: string) {
|
||||
navigator.clipboard.writeText(`https://enchor.us/?hash=${hash}`)
|
||||
}
|
||||
copyHash(hash: string) {
|
||||
navigator.clipboard.writeText(hash)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user