mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-04-16 17:05:09 -04:00
Merge pull request #3145 from gdpelican/bugfix/like-toggle
Rerender actions on like/dislike
This commit is contained in:
commit
52d04935be
2 changed files with 2 additions and 0 deletions
app
|
@ -48,6 +48,7 @@ export default Discourse.View.extend(StringBuffer, {
|
|||
|
||||
rerenderTriggers: [
|
||||
'post.deleted_at',
|
||||
'post.like_count',
|
||||
'post.reply_count',
|
||||
'post.showRepliesBelow',
|
||||
'post.can_delete',
|
||||
|
|
|
@ -11,6 +11,7 @@ class PostSerializer < BasicPostSerializer
|
|||
attributes :post_number,
|
||||
:post_type,
|
||||
:updated_at,
|
||||
:like_count,
|
||||
:reply_count,
|
||||
:reply_to_post_number,
|
||||
:quote_count,
|
||||
|
|
Loading…
Add table
Reference in a new issue