mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-07 01:19:57 +00:00
fix(status): copy link
This commit is contained in:
parent
a5ef2bdc67
commit
0587f5f994
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ const togglePin = async () => toggleStatusAction(
|
|||
)
|
||||
|
||||
const copyLink = async () => {
|
||||
await clipboard.copy(location.href)
|
||||
await clipboard.copy(`${location.origin}${getStatusPath(status)}`)
|
||||
}
|
||||
const openInOriginal = () => {
|
||||
window.open(status.url!, '_blank')
|
||||
|
|
Loading…
Reference in a new issue