[Client] 良い感じに

This commit is contained in:
syuilo 2017-03-20 05:43:27 +09:00
parent 0390820f07
commit 95440dffb5
3 changed files with 55 additions and 17 deletions

View file

@ -24,6 +24,10 @@
</style>
<script>
this.reactions = this.opts.post.reaction_counts;
this.post = this.opts.post;
this.on('update', () => {
this.reactions = this.post.reaction_counts;
});
</script>
</mk-reactions-viewer>