mirror of
https://github.com/ascribe/onion.git
synced 2025-01-03 10:25:08 +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){
|
else if (this.props.content.ratings.average){
|
||||||
rating = 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 (
|
return (
|
||||||
|
Loading…
Reference in New Issue
Block a user