[Client] Fix bug
This commit is contained in:
parent
95440dffb5
commit
f48dc504ec
@ -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",
|
||||||
|
@ -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;
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user