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:
Diffstat (limited to 'src/components/PublicFilesEditor.vue')
-rw-r--r--src/components/PublicFilesEditor.vue6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/components/PublicFilesEditor.vue b/src/components/PublicFilesEditor.vue
index 6991ad37c..6e8cb3b73 100644
--- a/src/components/PublicFilesEditor.vue
+++ b/src/components/PublicFilesEditor.vue
@@ -23,7 +23,7 @@
<template>
<modal v-if="active" :title="fileName" @close="close">
<editor-wrapper :file-id="fileId" :relative-path="relativePath" :active="active"
- :share-token="shareToken" />
+ :share-token="shareToken" :mime="mimeType" />
</modal>
</template>
@@ -52,6 +52,10 @@ export default {
shareToken: {
type: String,
default: null
+ },
+ mimeType: {
+ type: String,
+ default: null
}
},
computed: {