diff options
author | Christopher Ng <chrng8@gmail.com> | 2023-02-01 15:40:13 -0800 |
---|---|---|
committer | Christopher Ng <chrng8@gmail.com> | 2023-02-01 15:40:13 -0800 |
commit | edcf675e6e0e8ab1388e6bccc7f00b9dffa0dc91 (patch) | |
tree | bb447f4cfe88d3a8e3eba12c2994327f695affba /apps/files_sharing/src/components/SharingEntryLink.vue | |
parent | 41148acf833d401aa6c8bd23617ae8639b6aaae6 (diff) | |
download | nextcloud-server-edcf675e6e0e8ab1388e6bccc7f00b9dffa0dc91.tar.gz nextcloud-server-edcf675e6e0e8ab1388e6bccc7f00b9dffa0dc91.zip |
Drop vue-clipboard2 to fix copy to clipboard
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'apps/files_sharing/src/components/SharingEntryLink.vue')
-rw-r--r-- | apps/files_sharing/src/components/SharingEntryLink.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/src/components/SharingEntryLink.vue b/apps/files_sharing/src/components/SharingEntryLink.vue index dcdebe2e8c5..7622efa6fac 100644 --- a/apps/files_sharing/src/components/SharingEntryLink.vue +++ b/apps/files_sharing/src/components/SharingEntryLink.vue @@ -769,7 +769,7 @@ export default { }, async copyLink() { try { - await this.$copyText(this.shareLink) + await navigator.clipboard.writeText(this.shareLink) showSuccess(t('files_sharing', 'Link copied')) // focus and show the tooltip this.$refs.copyButton.$el.focus() |