1
0
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:
diminator 2015-08-26 12:33:06 +02:00
parent b2fed6426f
commit ad7e86108e

View File

@ -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 (