[Client] Fix bug

This commit is contained in:
syuilo 2017-03-20 05:54:41 +09:00
parent 95440dffb5
commit f48dc504ec
2 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,7 @@
{ {
"name": "misskey", "name": "misskey",
"author": "syuilo <i@syuilo.com>", "author": "syuilo <i@syuilo.com>",
"version": "0.0.1388", "version": "0.0.1340",
"license": "MIT", "license": "MIT",
"description": "A miniblog-based SNS", "description": "A miniblog-based SNS",
"bugs": "https://github.com/syuilo/misskey/issues", "bugs": "https://github.com/syuilo/misskey/issues",

View File

@ -26,6 +26,10 @@
<script> <script>
this.post = this.opts.post; this.post = this.opts.post;
this.on('mount', () => {
this.update();
});
this.on('update', () => { this.on('update', () => {
this.reactions = this.post.reaction_counts; this.reactions = this.post.reaction_counts;
}); });