From 18a1f5d62a72da45d62672043397a7471ab2c090 Mon Sep 17 00:00:00 2001 From: eugenijm Date: Tue, 7 Jul 2020 18:30:05 +0300 Subject: Add the empty chat list placeholder. Do not use full height when displaying the chat list. Remove an unsued chat action. --- src/components/post_status_form/post_status_form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components/post_status_form') 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 -- cgit v1.2.3-70-g09d2