diff options
| author | taehoon <th.dev91@gmail.com> | 2019-07-02 16:36:14 -0400 |
|---|---|---|
| committer | taehoon <th.dev91@gmail.com> | 2019-07-02 16:36:14 -0400 |
| commit | 0c102deeed91442999bbb9522e071b478d6388b0 (patch) | |
| tree | 59ac61c5b6d01e58e2513138a2ff24e50a4d6995 /src | |
| parent | 221db9f210b161851dd69bed87c49d0573d30e5f (diff) | |
hide text format when only plaintext is available
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/post_status_form/post_status_form.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/post_status_form/post_status_form.vue b/src/components/post_status_form/post_status_form.vue index 67cdc721..505fd25e 100644 --- a/src/components/post_status_form/post_status_form.vue +++ b/src/components/post_status_form/post_status_form.vue @@ -84,7 +84,7 @@ <i class="icon-down-open"></i> </label> </div> - <div class="text-format" v-if="postFormats.length === 1"> + <div class="text-format" v-if="postFormats.length === 1 && postFormats[0] !== 'text/plain'"> <span class="only-format"> {{$t(`post_status.content_type["${postFormats[0]}"]`)}} </span> |
