style: auto-fix linting issues
This commit is contained in:
parent
8eaafd7e18
commit
5cd0d10b77
1 changed files with 1 additions and 3 deletions
|
|
@ -1160,9 +1160,7 @@ export async function handleTrackAction(
|
||||||
// Use stored href from card if available, otherwise construct URL
|
// Use stored href from card if available, otherwise construct URL
|
||||||
const contextMenu = document.getElementById('context-menu');
|
const contextMenu = document.getElementById('context-menu');
|
||||||
const storedHref = contextMenu?._contextHref;
|
const storedHref = contextMenu?._contextHref;
|
||||||
const url = getShareUrl(
|
const url = getShareUrl(storedHref ? storedHref : `/track/${item.id || item.uuid}`);
|
||||||
storedHref ? storedHref : `/track/${item.id || item.uuid}`
|
|
||||||
);
|
|
||||||
|
|
||||||
trackCopyLink(type, item.id || item.uuid);
|
trackCopyLink(type, item.id || item.uuid);
|
||||||
navigator.clipboard.writeText(url).then(() => {
|
navigator.clipboard.writeText(url).then(() => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue