mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 04:53:09 +02:00
[Client] Fix bug
This commit is contained in:
parent
95440dffb5
commit
f48dc504ec
2 changed files with 5 additions and 1 deletions
|
@ -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 a new issue