1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-23 01:39:36 +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({ PieceListActions.updatePropertyForPiece({
pieceId: this.props.content.id, pieceId: this.props.content.id,
key: 'num_editions', key: 'num_editions',
value: res.count value: res.editions[0].num_editions
}); });
EditionListActions.toggleEditionList(this.props.content.id); EditionListActions.toggleEditionList(this.props.content.id);