From c7dc2f6a5c3f6bf09722260853b9986b7c881339 Mon Sep 17 00:00:00 2001 From: Matt Rider Date: Mon, 15 Jul 2019 19:09:33 -0300 Subject: [PATCH] Hide CommentForm when an edit is in progress - Follow @Tirokk PR review --- webapp/components/Comment.vue | 40 ++++++++++--------- .../components/comments/CommentForm/index.vue | 8 +++- .../components/comments/CommentForm/spec.js | 1 + .../comments/EditCommentForm/index.vue | 5 +++ webapp/store/editor.js | 7 ++++ 5 files changed, 41 insertions(+), 20 deletions(-) diff --git a/webapp/components/Comment.vue b/webapp/components/Comment.vue index f0155afa8..1fdfad7cf 100644 --- a/webapp/components/Comment.vue +++ b/webapp/components/Comment.vue @@ -35,24 +35,22 @@ @showEditCommentMenu="editCommentMenu" /> -
-
- - {{ $t('comment.show.more') }} - -
-
-
- - {{ $t('comment.show.less') }} - +
+
+ + @@ -61,7 +59,7 @@