show preview with plaintext too
This commit is contained in:
parent
cecf3d4f89
commit
6e2de20367
@ -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 New Issue
Block a user