hide text format when only plaintext is available
This commit is contained in:
parent
221db9f210
commit
0c102deeed
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue