This commit is contained in:
Henry Jameson 2019-06-18 22:44:10 +03:00
parent cda2d6cb20
commit 993285b20f

View file

@ -179,14 +179,16 @@ const PostStatusForm = {
sensitive: newStatus.nsfw, sensitive: newStatus.nsfw,
media: newStatus.files, media: newStatus.files,
store: this.$store, store: this.$store,
inReplyToStatusId: this.replyTo inReplyToStatusId: this.replyTo,
contentType: newStatus.contentType
}).then((data) => { }).then((data) => {
if (!data.error) { if (!data.error) {
this.newStatus = { this.newStatus = {
status: '', status: '',
spoilerText: '', spoilerText: '',
files: [], files: [],
visibility: newStatus.visibility visibility: newStatus.visibility,
contentType: newStatus.contentType
} }
this.$refs.mediaUpload.clearFile() this.$refs.mediaUpload.clearFile()
this.$emit('posted') this.$emit('posted')