diff --git a/src/components/mobile_post_status_modal/mobile_post_status_modal.js b/src/components/mobile_post_status_modal/mobile_post_status_modal.js index 2f24dd08..eb665b8d 100644 --- a/src/components/mobile_post_status_modal/mobile_post_status_modal.js +++ b/src/components/mobile_post_status_modal/mobile_post_status_modal.js @@ -12,7 +12,8 @@ const MobilePostStatusModal = { scrollingDown: false, inputActive: false, oldScrollPos: 0, - amountScrolled: 0 + amountScrolled: 0, + visibility: this.$store.state.users.currentUser.default_scope } }, created () { @@ -32,6 +33,9 @@ const MobilePostStatusModal = { } }, methods: { + onScopeChange (visibility) { + this.visibility = visibility + }, openPostForm () { this.postFormOpen = true this.hidden = true diff --git a/src/components/mobile_post_status_modal/mobile_post_status_modal.vue b/src/components/mobile_post_status_modal/mobile_post_status_modal.vue index 0a451c28..ca431c5f 100644 --- a/src/components/mobile_post_status_modal/mobile_post_status_modal.vue +++ b/src/components/mobile_post_status_modal/mobile_post_status_modal.vue @@ -6,8 +6,8 @@ @click="closePostForm" >
-
{{$t('post_status.new_status')}}
- +
{{$t('post_status.new_status') + ' (' + $t('post_status.scope.' + visibility) + ')'}}
+