diff options
Diffstat (limited to 'src/components/PublicFilesEditor.vue')
-rw-r--r-- | src/components/PublicFilesEditor.vue | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/components/PublicFilesEditor.vue b/src/components/PublicFilesEditor.vue index b2e4a0b27..829879f69 100644 --- a/src/components/PublicFilesEditor.vue +++ b/src/components/PublicFilesEditor.vue @@ -37,39 +37,39 @@ export default { name: 'PublicFilesEditor', components: { Modal, - EditorWrapper: () => import(/* webpackChunkName: "editor" */'./EditorWrapper') + EditorWrapper: () => import(/* webpackChunkName: "editor" */'./EditorWrapper'), }, props: { fileId: { type: Number, - default: null + default: null, }, relativePath: { type: String, - default: null + default: null, }, active: { type: Boolean, - default: false + default: false, }, shareToken: { type: String, - default: null + default: null, }, mimeType: { type: String, - default: null - } + default: null, + }, }, computed: { fileName() { return this.relativePath.substring(this.relativePath.lastIndexOf('/') + 1) - } + }, }, methods: { close() { this.active = false - } - } + }, + }, } </script> |