Fix issue with child comments not showing up in production mode

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2019-12-16 16:48:38 +01:00
parent b0b5664317
commit 559c922fa1
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -116,7 +116,7 @@ import { CREATE_REPORT } from '@/graphql/report';
}, },
components: { components: {
editor: () => import(/* webpackChunkName: "editor" */ '@/components/Editor.vue'), editor: () => import(/* webpackChunkName: "editor" */ '@/components/Editor.vue'),
Comment, comment: () => import(/* webpackChunkName: "comment" */ './Comment.vue'),
}, },
}) })
export default class Comment extends Vue { export default class Comment extends Vue {
@ -223,7 +223,6 @@ export default class Comment extends Vue {
} }
reportModal() { reportModal() {
console.log('report modal');
this.$buefy.modal.open({ this.$buefy.modal.open({
parent: this, parent: this,
component: ReportModal, component: ReportModal,