From 6e2de2036755287de0a6123236644842a91b9fea Mon Sep 17 00:00:00 2001
From: Shpuld Shpuldson <shp@cock.li>
Date: Sun, 28 Jun 2020 13:17:04 +0300
Subject: [PATCH] show preview with plaintext too

---
 src/components/post_status_form/post_status_form.vue | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/components/post_status_form/post_status_form.vue b/src/components/post_status_form/post_status_form.vue
index f1455cfd..0bee8bb5 100644
--- a/src/components/post_status_form/post_status_form.vue
+++ b/src/components/post_status_form/post_status_form.vue
@@ -17,14 +17,14 @@
       />
       <div class="form-group">
         <a
-          v-if="newStatus.contentType !== 'text/plain' && !showPreview"
+          v-if="!showPreview"
           class="preview-start"
           @click.stop.prevent="previewStatus(newStatus)"
         >
           {{ $t('status.preview') }}
         </a>
         <div
-          v-if="showPreview && newStatus.contentType !== 'text/plain'"
+          v-else
           class="preview-container"
         >
           <span class="preview-heading">