1
0
Fork 0
forked from srxl/akkoma-fe

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

View file

@ -46,7 +46,7 @@ const PostStatusForm = {
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.$store.state.users.currentUser.default_scope