diff --git a/webapp/components/Comment.spec.js b/webapp/components/Comment.spec.js
index 23e72f9d6..375280cea 100644
--- a/webapp/components/Comment.spec.js
+++ b/webapp/components/Comment.spec.js
@@ -63,6 +63,7 @@ describe('Comment.vue', () => {
propsData.comment = {
id: '2',
contentExcerpt: 'Hello I am a comment content',
+ content: 'Hello I am comment content',
}
})
diff --git a/webapp/components/Comment.vue b/webapp/components/Comment.vue
index e4df37693..3b2170661 100644
--- a/webapp/components/Comment.vue
+++ b/webapp/components/Comment.vue
@@ -38,18 +38,14 @@
-
+
{{ $t('comment.show.less') }}
diff --git a/webapp/components/CommentList/CommentList.spec.js b/webapp/components/CommentList/CommentList.spec.js
index 5551227a1..0fa1e8b81 100644
--- a/webapp/components/CommentList/CommentList.spec.js
+++ b/webapp/components/CommentList/CommentList.spec.js
@@ -27,7 +27,9 @@ describe('CommentList.vue', () => {
propsData = {
post: {
id: 1,
- comments: [{ id: 'comment134', contentExcerpt: 'this is a comment' }],
+ comments: [
+ { id: 'comment134', contentExcerpt: 'this is a comment', content: 'this is a comment' },
+ ],
},
}
store = new Vuex.Store({