diff options
author | dartcafe <github@dartcafe.de> | 2020-07-12 23:01:19 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2020-07-12 23:01:19 +0300 |
commit | 5151f1fcff7dfc36a3ec5fba8ed423d5e46fdb07 (patch) | |
tree | 7960a1fdd6422bd2786b67275846445821eff328 /src/js/components/Comments/Comments.vue | |
parent | e11022004cf8c6e7daf9bd8d0cbc5c414587e99a (diff) |
Avoid avatar errors and tidy acl model
Diffstat (limited to 'src/js/components/Comments/Comments.vue')
-rw-r--r-- | src/js/components/Comments/Comments.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/components/Comments/Comments.vue b/src/js/components/Comments/Comments.vue index 18ced5a4..280d9de5 100644 --- a/src/js/components/Comments/Comments.vue +++ b/src/js/components/Comments/Comments.vue @@ -27,7 +27,7 @@ tag="ul"> <li v-for="(comment) in sortedList" :key="comment.id"> <div class="comment-item"> - <UserItem :user-id="comment.userId" :display-name="comment.displayName" /> + <UserItem v-bind="comment" /> <Actions v-if="comment.userId === acl.userId"> <ActionButton icon="icon-delete" @click="deleteComment(comment)"> {{ t('polls', 'Delete comment') }} |