diff --git a/src/components/post_status_form/post_status_form.js b/src/components/post_status_form/post_status_form.js index c1213fa93..8ac5ccd9b 100644 --- a/src/components/post_status_form/post_status_form.js +++ b/src/components/post_status_form/post_status_form.js @@ -106,6 +106,9 @@ const PostStatusForm = { }, charactersLeft () { return this.statusLengthLimit - this.statusLength + }, + isOverLengthLimit () { + return this.hasStatusLengthLimit && (this.statusLength > this.statusLengthLimit) } }, methods: { diff --git a/src/components/post_status_form/post_status_form.vue b/src/components/post_status_form/post_status_form.vue index a759bb53e..aca9e9c88 100644 --- a/src/components/post_status_form/post_status_form.vue +++ b/src/components/post_status_form/post_status_form.vue @@ -19,9 +19,11 @@
{{ charactersLeft }}
+{{ charactersLeft }}
+{{ charactersLeft }}
+