Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinicius Reis <vinicius.reis@nextcloud.com>2022-09-03 18:27:36 +0300
committerVinicius Reis <vinicius.reis@nextcloud.com>2022-09-03 18:27:36 +0300
commit68ebbc3dfc6a9dfd58c0a1d6b1f29e58cbe96dec (patch)
tree9f00512b9f0bb01491d8fd523d542d085157ed6f /src/components/ViewerComponent.vue
parentda4235555775ce889ad39850f1e0275b51b39ff9 (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.vue4
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,