diff --git a/src/components/edit_status_form/edit_status_form.js b/src/components/edit_status_form/edit_status_form.js index 9a0bcc0e..32376337 100644 --- a/src/components/edit_status_form/edit_status_form.js +++ b/src/components/edit_status_form/edit_status_form.js @@ -12,6 +12,9 @@ const EditStatusForm = { } }, methods: { + requestClose () { + this.$refs.postStatusForm.requestClose() + }, doEditStatus ({ status, spoilerText, sensitive, media, contentType, poll }) { const params = { store: this.$store, diff --git a/src/components/edit_status_form/edit_status_form.vue b/src/components/edit_status_form/edit_status_form.vue index eee2d39a..0a7ec760 100644 --- a/src/components/edit_status_form/edit_status_form.vue +++ b/src/components/edit_status_form/edit_status_form.vue @@ -1,5 +1,6 @@