Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(files): Link share URL was not generated due to typo #48244

Merged
merged 2 commits into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions apps/files_sharing/src/components/SharingEntryLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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() })
},

/**
Expand Down
2 changes: 0 additions & 2 deletions dist/323-323.js

This file was deleted.

354 changes: 0 additions & 354 deletions dist/323-323.js.license

This file was deleted.

1 change: 0 additions & 1 deletion dist/323-323.js.map

This file was deleted.

1 change: 0 additions & 1 deletion dist/323-323.js.map.license

This file was deleted.

Loading
Loading