mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Rerender actions on like/dislike
This commit is contained in:
parent
a82c50d584
commit
3b2dcf12b5
@ -48,6 +48,7 @@ export default Discourse.View.extend(StringBuffer, {
|
|||||||
|
|
||||||
rerenderTriggers: [
|
rerenderTriggers: [
|
||||||
'post.deleted_at',
|
'post.deleted_at',
|
||||||
|
'post.like_count',
|
||||||
'post.reply_count',
|
'post.reply_count',
|
||||||
'post.showRepliesBelow',
|
'post.showRepliesBelow',
|
||||||
'post.can_delete',
|
'post.can_delete',
|
||||||
|
@ -11,6 +11,7 @@ class PostSerializer < BasicPostSerializer
|
|||||||
attributes :post_number,
|
attributes :post_number,
|
||||||
:post_type,
|
:post_type,
|
||||||
:updated_at,
|
:updated_at,
|
||||||
|
:like_count,
|
||||||
:reply_count,
|
:reply_count,
|
||||||
:reply_to_post_number,
|
:reply_to_post_number,
|
||||||
:quote_count,
|
:quote_count,
|
||||||
|
Loading…
Reference in New Issue
Block a user