diff --git a/src/client/app/desktop/views/components/post-form.vue b/src/client/app/desktop/views/components/post-form.vue index a3c6a8942..5b6fc4cd4 100644 --- a/src/client/app/desktop/views/components/post-form.vue +++ b/src/client/app/desktop/views/components/post-form.vue @@ -282,7 +282,7 @@ export default Vue.extend({ onPollUpdate() { this.pollChoices = this.$refs.poll.get().choices; this.saveDraft(); - } + }, upload(file) { (this.$refs.uploader as any).upload(file);