more missing stuff

This commit is contained in:
Henry Jameson 2018-09-09 22:31:34 +03:00
parent 136add8a2f
commit 394153380d
5 changed files with 7 additions and 7 deletions

View file

@ -102,7 +102,7 @@ const PostStatusForm = {
name: '',
utf: utf || '',
// eslint-disable-next-line camelcase
img: utf ? '' : this.$store.state.config.server + image_url,
img: utf ? '' : this.$store.state.instance.server + image_url,
highlighted: index === this.highlighted
}))
} else {
@ -129,7 +129,7 @@ const PostStatusForm = {
return this.newStatus.status.length
},
statusLengthLimit () {
return this.$store.state.config.textlimit
return this.$store.state.instance.textlimit
},
hasStatusLengthLimit () {
return this.statusLengthLimit > 0