diff options
author | Vinicius Reis <vinicius.reis@nextcloud.com> | 2022-09-03 18:27:36 +0300 |
---|---|---|
committer | Vinicius Reis <vinicius.reis@nextcloud.com> | 2022-09-03 18:27:36 +0300 |
commit | 68ebbc3dfc6a9dfd58c0a1d6b1f29e58cbe96dec (patch) | |
tree | 9f00512b9f0bb01491d8fd523d542d085157ed6f /src/components/ViewerComponent.vue | |
parent | da4235555775ce889ad39850f1e0275b51b39ff9 (diff) |
🐛 fix missing sharing tokenfix/noid/fix-sharing-folder
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
Diffstat (limited to 'src/components/ViewerComponent.vue')
-rw-r--r-- | src/components/ViewerComponent.vue | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/ViewerComponent.vue b/src/components/ViewerComponent.vue index bb9a21db4..fcc56ffca 100644 --- a/src/components/ViewerComponent.vue +++ b/src/components/ViewerComponent.vue @@ -30,6 +30,8 @@ </template> <script> +import { getSharingToken } from '../helpers/token.js' + export default { name: 'ViewerComponent', components: { @@ -54,7 +56,7 @@ export default { }, shareToken: { type: String, - default: null, + default: () => getSharingToken(), }, mime: { type: String, |