mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 22:43:34 -07:00
consolidate links
This commit is contained in:
parent
f2d138407d
commit
2196841f7a
1 changed files with 2 additions and 1 deletions
|
@ -131,7 +131,8 @@ export default {
|
||||||
this.value.splice(index, 1);
|
this.value.splice(index, 1);
|
||||||
},
|
},
|
||||||
copyLink(name, fileName) {
|
copyLink(name, fileName) {
|
||||||
const copyText = ``;
|
const assetLink = api.recipes.recipeAssetPath(this.slug, fileName);
|
||||||
|
const copyText = ``;
|
||||||
navigator.clipboard.writeText(copyText).then(
|
navigator.clipboard.writeText(copyText).then(
|
||||||
() => console.log("Copied", copyText),
|
() => console.log("Copied", copyText),
|
||||||
() => console.log("Copied Failed", copyText)
|
() => console.log("Copied Failed", copyText)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue