Merge branch 'fix-scope-copy' into 'develop'

Fix typo that prevented scope copy from working.

Closes #214

See merge request pleroma/pleroma-fe!413
This commit is contained in:
HJ 2018-12-13 10:39:50 +00:00
commit e443716bcd
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ const PostStatusForm = {
statusText = buildMentionsString({ user: this.repliedUser, attentions: this.attentions }, currentUser) statusText = buildMentionsString({ user: this.repliedUser, attentions: this.attentions }, currentUser)
} }
const scope = (this.copyMessageScope && this.$store.state.config.copyScope || this.copyMessageScope === 'direct') const scope = (this.copyMessageScope && this.$store.state.config.scopeCopy || this.copyMessageScope === 'direct')
? this.copyMessageScope ? this.copyMessageScope
: this.$store.state.users.currentUser.default_scope : this.$store.state.users.currentUser.default_scope