diff --git a/src/components/post_status_form/post_status_form.js b/src/components/post_status_form/post_status_form.js index ab379c23..47618699 100644 --- a/src/components/post_status_form/post_status_form.js +++ b/src/components/post_status_form/post_status_form.js @@ -67,6 +67,7 @@ const PostStatusForm = { status: statusText, nsfw: false, files: [], + imageDescriptions: {}, visibility: scope }, caret: 0 @@ -242,6 +243,7 @@ const PostStatusForm = { visibility: newStatus.visibility, sensitive: newStatus.nsfw, media: newStatus.files, + imageDescriptions: newStatus.imageDescriptions || {}, store: this.$store, inReplyToStatusId: this.replyTo, contentType: newStatus.contentType @@ -251,6 +253,7 @@ const PostStatusForm = { status: '', spoilerText: '', files: [], + imageDescriptions: {}, visibility: newStatus.visibility, contentType: newStatus.contentType } diff --git a/src/components/post_status_form/post_status_form.vue b/src/components/post_status_form/post_status_form.vue index 6ed5d92e..8d28289e 100644 --- a/src/components/post_status_form/post_status_form.vue +++ b/src/components/post_status_form/post_status_form.vue @@ -86,6 +86,7 @@ {{file.url}} +