Skip to content

Commit

Permalink
refs #199 Post toot with visibility level
Browse files Browse the repository at this point in the history
  • Loading branch information
h3poteto committed Apr 11, 2018
1 parent 51e6f89 commit 01e6226
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/renderer/components/TimelineSpace/Modals/NewToot.vue
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export default {
},
attachedMedias: state => state.TimelineSpace.Modals.NewToot.attachedMedias,
blockSubmit: state => state.TimelineSpace.Modals.NewToot.blockSubmit,
visibility: state => state.TimelineSpace.Modals.NewToot.visibility,
visibilityIcon: (state) => {
switch (state.TimelineSpace.Modals.NewToot.visibility) {
case 'public':
Expand Down Expand Up @@ -114,7 +115,8 @@ export default {
})
}
let form = {
status: this.status
status: this.status,
visibility: this.visibility
}
if (this.replyToId !== null) {
form = Object.assign(form, {
Expand Down

0 comments on commit 01e6226

Please sign in to comment.