diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-06-24 22:24:08 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-06-24 22:24:18 +0300 |
commit | 072ad2fc88ab09c1bed1552d23c5c0965491ccd5 (patch) | |
tree | 822de2b5f8ab6f6b326b4b0e84035926bc9def68 /src/components | |
parent | e38f89c215b9ba1c0ce89ccde552da0538b7b429 (diff) |
Refactor file action fallback
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/PublicFilesEditor.vue | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/components/PublicFilesEditor.vue b/src/components/PublicFilesEditor.vue index 4a51f6610..6991ad37c 100644 --- a/src/components/PublicFilesEditor.vue +++ b/src/components/PublicFilesEditor.vue @@ -22,7 +22,8 @@ <template> <modal v-if="active" :title="fileName" @close="close"> - <editor-wrapper :relative-path="relativePath" :active="active" :share-token="shareToken" /> + <editor-wrapper :file-id="fileId" :relative-path="relativePath" :active="active" + :share-token="shareToken" /> </modal> </template> @@ -36,6 +37,10 @@ export default { EditorWrapper: () => import('./EditorWrapper') }, props: { + fileId: { + type: Number, + default: null + }, relativePath: { type: String, default: null |