Skip to content

Commit

Permalink
use NcReferencePickerModal from NcRichText in @nextcloud/vue
Browse files Browse the repository at this point in the history
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
  • Loading branch information
julien-nc committed Mar 3, 2023
1 parent 536a316 commit 9b37584
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/components/Composer.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div class="message-composer">
<ReferencePickerModal v-if="isPickerAvailable && isPickerOpen" @submit="onPicked" @cancel="closePicker" />
<NcReferencePickerModal v-if="isPickerAvailable && isPickerOpen" @submit="onPicked" @cancel="closePicker" />
<div class="composer-fields composer-fields__from mail-account">
<label class="from-label" for="from">
{{ t('mail', 'From') }}
Expand Down Expand Up @@ -442,8 +442,7 @@ import MailvelopeEditor from './MailvelopeEditor'
import { getMailvelope } from '../crypto/mailvelope'
import { isPgpgMessage } from '../crypto/pgp'
import '@nextcloud/vue-richtext/dist/style.css'
import { ReferencePickerModal } from '@nextcloud/vue-richtext'
import { NcReferencePickerModal } from '@nextcloud/vue/dist/Components/NcRichText.js'
import Send from 'vue-material-design-icons/Send'
import SendClock from 'vue-material-design-icons/SendClock'
Expand Down Expand Up @@ -485,7 +484,7 @@ export default {
UnfoldLessHorizontal,
IconHtml,
IconClose,
ReferencePickerModal,
NcReferencePickerModal,
},
props: {
fromAccount: {
Expand Down

0 comments on commit 9b37584

Please sign in to comment.