Skip to content

Commit

Permalink
feat($vssue): allow admins delete comments
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorlxy committed Feb 22, 2019
1 parent 8d5984a commit d3ad13f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vssue/src/components/VssueComment.vue
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
</span>

<span
v-if="comment.author.username === currentUser"
v-if="comment.author.username === currentUser || vssue.isAdmin"
v-show="!editMode"
class="vssue-comment-operation"
@click="deleteComment()"
Expand Down

0 comments on commit d3ad13f

Please sign in to comment.