diff options
author | Louis Chemineau <louis@chmn.me> | 2023-03-15 12:09:18 +0100 |
---|---|---|
committer | Louis Chemineau <louis@chmn.me> | 2023-03-15 12:09:18 +0100 |
commit | 8cdb6ceaa5e433ca1e2111281e1baa4aff026ab5 (patch) | |
tree | 0bd1f2f871e12f2a6ba9c3a9441c3c19d49d1989 /src/components/Composer/Composer.vue | |
parent | 33af3cb7838c79551ecdf57903b52f439985840c (diff) |
Use MessageContent to render reply to statuses
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'src/components/Composer/Composer.vue')
-rw-r--r-- | src/components/Composer/Composer.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/Composer/Composer.vue b/src/components/Composer/Composer.vue index 083d1f7c..a68ae384 100644 --- a/src/components/Composer/Composer.vue +++ b/src/components/Composer/Composer.vue @@ -60,9 +60,7 @@ </template> </NcButton> </p> - <div class="reply-to-preview"> - {{ replyTo.content }} - </div> + <MessageContent :item="replyTo" /> </div> <form class="new-post-form" @submit.prevent="createPost"> <VueTribute :options="tributeOptions"> @@ -146,6 +144,7 @@ import { generateUrl } from '@nextcloud/router' import PreviewGrid from './PreviewGrid.vue' import VisibilitySelect from './VisibilitySelect.vue' import SubmitStatusButton from './SubmitStatusButton.vue' +import MessageContent from '../MessageContent.js' /** * @typedef LocalAttachment @@ -167,6 +166,7 @@ export default { PreviewGrid, VisibilitySelect, SubmitStatusButton, + MessageContent, }, directives: { FocusOnCreate, |