mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 10:37:07 +00:00
Add Markdown support to sequence list comments
This commit is contained in:
@@ -86,6 +86,7 @@
|
||||
</v-card-subtitle>
|
||||
<v-card-text v-if="edit && edit.sequence == item.sequence && edit.key == 'remarks'">
|
||||
<v-textarea
|
||||
class="markdown"
|
||||
autofocus
|
||||
placeholder="Enter your text here"
|
||||
:disabled="loading"
|
||||
@@ -93,8 +94,7 @@
|
||||
>
|
||||
</v-textarea>
|
||||
</v-card-text>
|
||||
<v-card-text v-else>
|
||||
{{ item.remarks }}
|
||||
<v-card-text v-else v-html="$options.filters.markdown(item.remarks)">
|
||||
</v-card-text>
|
||||
</v-card>
|
||||
<v-card outlined class="flex-grow-1" v-if="item.remarks_final !== null">
|
||||
@@ -125,6 +125,7 @@
|
||||
</v-card-subtitle>
|
||||
<v-card-text v-if="edit && edit.sequence == item.sequence && edit.key == 'remarks_final'">
|
||||
<v-textarea
|
||||
class="markdown"
|
||||
autofocus
|
||||
placeholder="Enter your text here"
|
||||
:disabled="loading"
|
||||
@@ -132,8 +133,7 @@
|
||||
>
|
||||
</v-textarea>
|
||||
</v-card-text>
|
||||
<v-card-text>
|
||||
{{ item.remarks_final }}
|
||||
<v-card-text v-html="$options.filters.markdown(item.remarks_final)">
|
||||
</v-card-text>
|
||||
</v-card>
|
||||
</v-col>
|
||||
|
||||
Reference in New Issue
Block a user