Skip to content
Snippets Groups Projects
Commit 6e2de203 authored by Shpuld Shpludson's avatar Shpuld Shpludson
Browse files

show preview with plaintext too

parent cecf3d4f
No related branches found
No related tags found
2 merge requests!12172.1.0 into master,!1159Status preview #459
Pipeline #27792 passed
......@@ -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">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment