diff options
author | Louis Chemineau <louis@chmn.me> | 2023-01-04 10:56:57 +0100 |
---|---|---|
committer | Louis Chemineau <louis@chmn.me> | 2023-01-04 10:56:57 +0100 |
commit | cd2e56d80c64e5c63d504f9a6f8183ebbb29413f (patch) | |
tree | 5483c98d0e82bbae74a445fc70889e3464827188 /src | |
parent | f945d5fe63888d029e9ae17b57e85ec82cf2edf4 (diff) |
Import and use needed linkify packages
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'src')
-rw-r--r-- | src/components/TimelinePost.vue | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/components/TimelinePost.vue b/src/components/TimelinePost.vue index e525d6c3..0d97f21f 100644 --- a/src/components/TimelinePost.vue +++ b/src/components/TimelinePost.vue @@ -78,11 +78,10 @@ </template> <script> +// eslint-disable-next-line no-unused-vars import * as linkify from 'linkifyjs' -// eslint-disable-next-line -import pluginMention from 'linkifyjs/plugins/mention' -// eslint-disable-next-line -import 'linkifyjs/string' +import 'linkify-plugin-mention' +import 'linkify-string' import currentUser from './../mixins/currentUserMixin.js' import PostAttachment from './PostAttachment.vue' import NcButton from '@nextcloud/vue/dist/Components/NcButton.js' @@ -97,8 +96,6 @@ import moment from '@nextcloud/moment' import { generateUrl } from '@nextcloud/router' import RichText from '@nextcloud/vue-richtext' -pluginMention(linkify) - export default { name: 'TimelinePost', components: { |