diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-09-20 16:10:47 +0200 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-09-24 19:55:36 +0200 |
commit | 7d733cfb338bd2669cab32e16c4e3d235299999e (patch) | |
tree | 4ee3db02e6b579355abdcfb35a46aebdab08bfcd /apps/files_sharing | |
parent | 3e72210eb2a6d301e2869cde1256865ee4baed8d (diff) | |
download | nextcloud-server-7d733cfb338bd2669cab32e16c4e3d235299999e.tar.gz nextcloud-server-7d733cfb338bd2669cab32e16c4e3d235299999e.zip |
fix(files): Link share URL was not generated due to typo
`toen` vs `token`
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'apps/files_sharing')
-rw-r--r-- | apps/files_sharing/src/components/SharingEntryLink.vue | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/files_sharing/src/components/SharingEntryLink.vue b/apps/files_sharing/src/components/SharingEntryLink.vue index d95027d82d2..feb99720092 100644 --- a/apps/files_sharing/src/components/SharingEntryLink.vue +++ b/apps/files_sharing/src/components/SharingEntryLink.vue @@ -26,8 +26,9 @@ <!-- clipboard --> <NcActions v-if="share && (!isEmailShareType || isFileRequest) && share.token" ref="copyButton" class="sharing-entry__copy"> - <NcActionButton :title="copyLinkTooltip" - :aria-label="copyLinkTooltip" + <NcActionButton :aria-label="copyLinkTooltip" + :title="copyLinkTooltip" + :href="shareLink" @click.prevent="copyLink"> <template #icon> <CheckIcon v-if="copied && copySuccess" @@ -509,7 +510,7 @@ export default { * @return {string} */ shareLink() { - return generateUrl('/s/{toen}', { token: this.share.token }, { baseURL: getBaseUrl() }) + return generateUrl('/s/{token}', { token: this.share.token }, { baseURL: getBaseUrl() }) }, /** |