|
|
@ -191,7 +191,7 @@ const PostStatusForm = {
|
|
|
|
this.posting = true
|
|
|
|
this.posting = true
|
|
|
|
statusPoster.postStatus({
|
|
|
|
statusPoster.postStatus({
|
|
|
|
status: newStatus.status,
|
|
|
|
status: newStatus.status,
|
|
|
|
spoilerText: newStatus.spoilerText || undefined,
|
|
|
|
spoilerText: newStatus.spoilerText || null,
|
|
|
|
visibility: newStatus.visibility,
|
|
|
|
visibility: newStatus.visibility,
|
|
|
|
media: newStatus.files,
|
|
|
|
media: newStatus.files,
|
|
|
|
store: this.$store,
|
|
|
|
store: this.$store,
|
|
|
@ -207,7 +207,7 @@ const PostStatusForm = {
|
|
|
|
el.style.height = '16px'
|
|
|
|
el.style.height = '16px'
|
|
|
|
this.error = null
|
|
|
|
this.error = null
|
|
|
|
|
|
|
|
|
|
|
|
Object.keys(this.vis).forEach(function (x) { this.vis[x].selected = false })
|
|
|
|
for (key in Object.keys(this.vis)) { this.vis[key].selected = false }
|
|
|
|
this.vis.public.selected = true
|
|
|
|
this.vis.public.selected = true
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
this.error = data.error
|
|
|
|
this.error = data.error
|
|
|
|