aboutsummaryrefslogtreecommitdiff
path: root/src/components/post_status_form
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2018-09-09 22:31:34 +0300
committerHenry Jameson <me@hjkos.com>2018-09-17 17:51:39 +0300
commit394153380da68816bccb2c5408fb7137d468f622 (patch)
treef893618b7d78c09003d58f871bfe793057373b02 /src/components/post_status_form
parent136add8a2fb80859ac6c2b160bf29e51117f8cff (diff)
more missing stuff
Diffstat (limited to 'src/components/post_status_form')
-rw-r--r--src/components/post_status_form/post_status_form.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/post_status_form/post_status_form.js b/src/components/post_status_form/post_status_form.js
index dc92f009..a84e764c 100644
--- a/src/components/post_status_form/post_status_form.js
+++ b/src/components/post_status_form/post_status_form.js
@@ -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