mirror of
https://github.com/ascribe/onion.git
synced 2024-11-15 01:25:17 +01:00
fix edition refresh after delete
This commit is contained in:
parent
725e79bc4f
commit
fe91cc4f6a
@ -80,8 +80,7 @@ let Edition = React.createClass({
|
|||||||
handleDeleteSuccess(response) {
|
handleDeleteSuccess(response) {
|
||||||
PieceListActions.fetchPieceList(this.state.page, this.state.pageSize, this.state.search, this.state.orderBy, this.state.orderAsc);
|
PieceListActions.fetchPieceList(this.state.page, this.state.pageSize, this.state.search, this.state.orderBy, this.state.orderAsc);
|
||||||
|
|
||||||
// we don't need to refresh the edition list for a piece here, since its reloaded from
|
EditionListActions.refreshEditionList(this.props.edition.parent);
|
||||||
// scatch once you click on show-editions anyway
|
|
||||||
EditionListActions.closeAllEditionLists();
|
EditionListActions.closeAllEditionLists();
|
||||||
EditionListActions.clearAllEditionSelections();
|
EditionListActions.clearAllEditionSelections();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user