Skip to content

Commit

Permalink
list
Browse files Browse the repository at this point in the history
  • Loading branch information
chrislearn committed Aug 17, 2017
1 parent ed0167b commit 4b60b96
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/widgets/list/List.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,11 @@ export class List extends Component {
}
}
componentDidMount() {
this.collectQuery(this.props)
if (this.props.urlBinded) {
this.collectQuery(this.props)
} else {
this.updateQuery(this.props)
}
this.loadData();
const store = getStore(this.props.entityName)
this.loadReaction = reaction(() => store.records.map((record) => record.id), ids => this.loadData())
Expand Down

0 comments on commit 4b60b96

Please sign in to comment.