fix missing reshares count on mobile stream
This commit is contained in:
parent
ea4b590943
commit
99f42cb643
2 changed files with 5 additions and 1 deletions
|
|
@ -1,5 +1,9 @@
|
||||||
.comment_container
|
.comment_container
|
||||||
.post_stats
|
.post_stats
|
||||||
|
- if @post.public?
|
||||||
|
%span.reshare_count
|
||||||
|
= @post.reshares.size
|
||||||
|
|
||||||
%span.comment_count
|
%span.comment_count
|
||||||
= @post.comments.size
|
= @post.comments.size
|
||||||
%span.like_count
|
%span.like_count
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@
|
||||||
.comment_container
|
.comment_container
|
||||||
.post_stats
|
.post_stats
|
||||||
- if post.public?
|
- if post.public?
|
||||||
%span.comment_count
|
%span.reshare_count
|
||||||
= post.reshares.size
|
= post.reshares.size
|
||||||
|
|
||||||
%span.comment_count
|
%span.comment_count
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue