forked from AkkomaGang/akkoma-fe
show preview with plaintext too
This commit is contained in:
parent
cecf3d4f89
commit
6e2de20367
1 changed files with 2 additions and 2 deletions
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue