refactor: use utils.copytext (#3590)

This commit is contained in:
dni ⚡
2025-11-27 12:31:14 +01:00
committed by GitHub
parent e6ca8a33c6
commit 704e5a1b73
17 changed files with 50 additions and 40 deletions
+1 -1
View File
@@ -607,7 +607,7 @@ window.PageAccount = {
},
copyAssetLinkToClipboard(asset) {
const assetUrl = `${window.location.origin}/api/v1/assets/${asset.id}/binary`
this.copyText(assetUrl)
this.utils.copyText(assetUrl)
},
addUserLabel() {
if (!this.labelsDialog.data.name) {