1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 17:33:14 +01:00

correct number of editions

This commit is contained in:
Tim Daubenschütz 2015-07-10 14:48:55 +02:00
parent 75590dbb34
commit fd6fad5da3

View File

@ -87,7 +87,7 @@ let AccordionListItem = React.createClass({
PieceListActions.updatePropertyForPiece({
pieceId: this.props.content.id,
key: 'num_editions',
value: res.count
value: res.editions[0].num_editions
});
EditionListActions.toggleEditionList(this.props.content.id);