fix(status): copy link
parent
a5ef2bdc67
commit
0587f5f994
|
@ -60,7 +60,7 @@ const togglePin = async () => toggleStatusAction(
|
||||||
)
|
)
|
||||||
|
|
||||||
const copyLink = async () => {
|
const copyLink = async () => {
|
||||||
await clipboard.copy(location.href)
|
await clipboard.copy(`${location.origin}${getStatusPath(status)}`)
|
||||||
}
|
}
|
||||||
const openInOriginal = () => {
|
const openInOriginal = () => {
|
||||||
window.open(status.url!, '_blank')
|
window.open(status.url!, '_blank')
|
||||||
|
|
Loading…
Reference in New Issue