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">
|
<div class="form-group">
|
||||||
<a
|
<a
|
||||||
v-if="newStatus.contentType !== 'text/plain' && !showPreview"
|
v-if="!showPreview"
|
||||||
class="preview-start"
|
class="preview-start"
|
||||||
@click.stop.prevent="previewStatus(newStatus)"
|
@click.stop.prevent="previewStatus(newStatus)"
|
||||||
>
|
>
|
||||||
{{ $t('status.preview') }}
|
{{ $t('status.preview') }}
|
||||||
</a>
|
</a>
|
||||||
<div
|
<div
|
||||||
v-if="showPreview && newStatus.contentType !== 'text/plain'"
|
v-else
|
||||||
class="preview-container"
|
class="preview-container"
|
||||||
>
|
>
|
||||||
<span class="preview-heading">
|
<span class="preview-heading">
|
||||||
|
|
Loading…
Reference in a new issue