more refactoring
This commit is contained in:
parent
2db991fc7f
commit
82fa5d08c4
11 changed files with 109 additions and 76 deletions
|
@ -120,10 +120,10 @@ const PostStatusForm = {
|
|||
return this.$store.state.users.users
|
||||
},
|
||||
emoji () {
|
||||
return this.$store.state.config.emoji || []
|
||||
return this.$store.state.instance.emoji || []
|
||||
},
|
||||
customEmoji () {
|
||||
return this.$store.state.config.customEmoji || []
|
||||
return this.$store.state.instance.customEmoji || []
|
||||
},
|
||||
statusLength () {
|
||||
return this.newStatus.status.length
|
||||
|
@ -141,10 +141,10 @@ const PostStatusForm = {
|
|||
return this.hasStatusLengthLimit && (this.statusLength > this.statusLengthLimit)
|
||||
},
|
||||
scopeOptionsEnabled () {
|
||||
return this.$store.state.config.scopeOptionsEnabled
|
||||
return this.$store.state.instance.scopeOptionsEnabled
|
||||
},
|
||||
formattingOptionsEnabled () {
|
||||
return this.$store.state.config.formattingOptionsEnabled
|
||||
return this.$store.state.instance.formattingOptionsEnabled
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue