From 01e62265bf6e3dd6fc0f055f2581de2e4442a5e0 Mon Sep 17 00:00:00 2001 From: AkiraFukushima Date: Wed, 11 Apr 2018 23:19:25 +0900 Subject: [PATCH] refs #199 Post toot with visibility level --- src/renderer/components/TimelineSpace/Modals/NewToot.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/renderer/components/TimelineSpace/Modals/NewToot.vue b/src/renderer/components/TimelineSpace/Modals/NewToot.vue index ff608405de..bdfac990f0 100644 --- a/src/renderer/components/TimelineSpace/Modals/NewToot.vue +++ b/src/renderer/components/TimelineSpace/Modals/NewToot.vue @@ -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': @@ -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, {