what
This commit is contained in:
parent
cda2d6cb20
commit
993285b20f
1 changed files with 4 additions and 2 deletions
|
@ -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')
|
||||||
|
|
Loading…
Add table
Reference in a new issue