From 559c922fa137f4188135b0bb20feca0497fd97b3 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Mon, 16 Dec 2019 16:48:38 +0100 Subject: [PATCH] Fix issue with child comments not showing up in production mode Signed-off-by: Thomas Citharel --- js/src/components/Comment/Comment.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/src/components/Comment/Comment.vue b/js/src/components/Comment/Comment.vue index d9ee1207..36fa3c5b 100644 --- a/js/src/components/Comment/Comment.vue +++ b/js/src/components/Comment/Comment.vue @@ -116,7 +116,7 @@ import { CREATE_REPORT } from '@/graphql/report'; }, components: { editor: () => import(/* webpackChunkName: "editor" */ '@/components/Editor.vue'), - Comment, + comment: () => import(/* webpackChunkName: "comment" */ './Comment.vue'), }, }) export default class Comment extends Vue { @@ -223,7 +223,6 @@ export default class Comment extends Vue { } reportModal() { - console.log('report modal'); this.$buefy.modal.open({ parent: this, component: ReportModal,