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:
parent
75590dbb34
commit
fd6fad5da3
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user