mirror of
https://github.com/ascribe/onion.git
synced 2024-11-15 01:25:17 +01:00
prize piece serializer with DB rating stats
This commit is contained in:
parent
b2fed6426f
commit
ad7e86108e
@ -80,7 +80,7 @@ let AccordionListItemPrize = React.createClass({
|
||||
}
|
||||
else if (this.props.content.ratings.average){
|
||||
rating = this.props.content.ratings.average;
|
||||
caption = 'Average of ' + this.props.content.ratings.ratings.length + ' rating(s)';
|
||||
caption = 'Average of ' + this.props.content.ratings.num_ratings + ' rating(s)';
|
||||
}
|
||||
|
||||
return (
|
||||
|
Loading…
Reference in New Issue
Block a user