mirror of
https://github.com/ascribe/onion.git
synced 2024-11-15 01:25:17 +01:00
Restore PieceListStore listener
This commit is contained in:
parent
b31bedb8ea
commit
a33431876c
@ -28,6 +28,7 @@ let PieceList = React.createClass({
|
||||
componentDidMount() {
|
||||
let page = this.props.query.page || this.state.page;
|
||||
PieceListActions.fetchPieceList(page, this.state.pageSize, this.state.search, this.state.orderBy, this.state.orderAsc);
|
||||
PieceListStore.listen(this.onChange);
|
||||
},
|
||||
|
||||
componentWillUnmount() {
|
||||
|
Loading…
Reference in New Issue
Block a user