hide text format when only plaintext is available
This commit is contained in:
parent
221db9f210
commit
0c102deeed
|
@ -84,7 +84,7 @@
|
||||||
<i class="icon-down-open"></i>
|
<i class="icon-down-open"></i>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</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">
|
<span class="only-format">
|
||||||
{{$t(`post_status.content_type["${postFormats[0]}"]`)}}
|
{{$t(`post_status.content_type["${postFormats[0]}"]`)}}
|
||||||
</span>
|
</span>
|
||||||
|
|
Loading…
Reference in New Issue