diff options
author | EinfachAlex <33007348+EinfachAlex@users.noreply.github.com> | 2022-11-10 23:07:20 +0300 |
---|---|---|
committer | EinfachAlex <33007348+EinfachAlex@users.noreply.github.com> | 2022-11-10 23:07:20 +0300 |
commit | e29ede2c2abce737d02f935897acf168661fec77 (patch) | |
tree | 7f810cee0eafe6f433e8e79e91dd59721dff73c8 | |
parent | 64458f5f4b99f2467024914a12e031a04884509c (diff) |
fix error copying embed code to clipboard
-rw-r--r-- | src/components/AppNavigation/CalendarList/CalendarListItemSharingPublishItem.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/AppNavigation/CalendarList/CalendarListItemSharingPublishItem.vue b/src/components/AppNavigation/CalendarList/CalendarListItemSharingPublishItem.vue index 7768a29b..baf0a915 100644 --- a/src/components/AppNavigation/CalendarList/CalendarListItemSharingPublishItem.vue +++ b/src/components/AppNavigation/CalendarList/CalendarListItemSharingPublishItem.vue @@ -342,7 +342,7 @@ export default { // copy link for calendar to clipboard try { - await this.$copyText(code) + await navigator.clipboard.writeText(code) this.menuOpen = true this.showCopyEmbedCodeLinkLabel = false this.showCopyEmbedCodeLinkSpinner = false |