aboutsummaryrefslogtreecommitdiff
path: root/src/components/post_status_form
diff options
context:
space:
mode:
authoreugenijm <eugenijm@protonmail.com>2020-07-07 18:30:05 +0300
committereugenijm <eugenijm@protonmail.com>2020-07-08 15:21:31 +0300
commit18a1f5d62a72da45d62672043397a7471ab2c090 (patch)
tree103fdf3ea19f69f2c8b5e2af1191a9b3771badfb /src/components/post_status_form
parent45901c8da654bbeaae71cc484ea08f39a332baa7 (diff)
Add the empty chat list placeholder.
Do not use full height when displaying the chat list. Remove an unsued chat action.
Diffstat (limited to 'src/components/post_status_form')
-rw-r--r--src/components/post_status_form/post_status_form.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/post_status_form/post_status_form.js b/src/components/post_status_form/post_status_form.js
index 9e7cce0f..b0d94555 100644
--- a/src/components/post_status_form/post_status_form.js
+++ b/src/components/post_status_form/post_status_form.js
@@ -192,7 +192,7 @@ const PostStatusForm = {
this.newStatus.poll.error
},
showPreview () {
- return !!this.preview || this.previewLoading
+ return !this.disablePreview && (!!this.preview || this.previewLoading)
},
emptyStatus () {
return this.newStatus.status.trim() === '' && this.newStatus.files.length === 0