Use parents scope if available.
This commit is contained in:
parent
7707048bff
commit
d4f5b3feec
2 changed files with 4 additions and 3 deletions
|
@ -23,7 +23,8 @@ const PostStatusForm = {
|
|||
props: [
|
||||
'replyTo',
|
||||
'repliedUser',
|
||||
'attentions'
|
||||
'attentions',
|
||||
'messageScope'
|
||||
],
|
||||
components: {
|
||||
MediaUpload
|
||||
|
@ -49,7 +50,7 @@ const PostStatusForm = {
|
|||
newStatus: {
|
||||
status: statusText,
|
||||
files: [],
|
||||
visibility: 'public'
|
||||
visibility: this.messageScope || 'public'
|
||||
},
|
||||
caret: 0
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue