From fef8b662c179df636f9de1fa804b1190042c8475 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 3 Sep 2019 05:50:01 +0900 Subject: [PATCH] :art: --- .../common/views/components/reactions-viewer.details.vue | 6 +++++- .../common/views/components/reactions-viewer.reaction.vue | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/client/app/common/views/components/reactions-viewer.details.vue b/src/client/app/common/views/components/reactions-viewer.details.vue index 27eb860d5..55927bba9 100644 --- a/src/client/app/common/views/components/reactions-viewer.details.vue +++ b/src/client/app/common/views/components/reactions-viewer.details.vue @@ -2,7 +2,9 @@
- {{ users.join(', ') }} + + + @@ -76,6 +78,8 @@ export default Vue.extend({ color var(--text) border-radius 4px box-shadow 0 var(--lineWidth) 4px rgba(#000, 0.25) + pointer-events none + transform-origin center -16px &:before content "" diff --git a/src/client/app/common/views/components/reactions-viewer.reaction.vue b/src/client/app/common/views/components/reactions-viewer.reaction.vue index 9598fa659..e2a8b91b0 100644 --- a/src/client/app/common/views/components/reactions-viewer.reaction.vue +++ b/src/client/app/common/views/components/reactions-viewer.reaction.vue @@ -104,7 +104,7 @@ export default Vue.extend({ }).then((reactions: any[]) => { const users = reactions.filter(x => x.type === this.reaction) .sort((a, b) => new Date(a.createdAt).getTime() - new Date(b.createdAt).getTime()) - .map(x => x.user.username); + .map(x => x.user); this.closeDetails(); if (!this.isHovering) return;