Skip to content

Commit

Permalink
feat(): hide highlight comment form
Browse files Browse the repository at this point in the history
  • Loading branch information
sterlingrules committed Feb 14, 2020
1 parent 1ae3d7b commit fdcfaf0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/components/comment/CommentBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,13 @@
<div class="title" v-if="!post.thread">
0 comments
</div>
<div
v-if="isLoggedIn">
<br/>
<div v-if="isLoggedIn && !filter">
<comment-compose
:initialComment="initialComment"
:entityId="forumThreadId"
:rootEntityType='"forumthread"' />
</div>
<div v-else class="guest-message">
<div v-else-if="!isLoggedIn" class="guest-message">
<p>Please <router-link to="/login">log in</router-link> to leave a comment</p>
</div>
<div class="row comments">
Expand Down
1 change: 1 addition & 0 deletions src/components/post/PostAuthor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ export default {
width auto
height 28px
margin-right 10px
border-radius 50%
</style>

0 comments on commit fdcfaf0

Please sign in to comment.