- componentDidMount() {
- if (this.props.onSetColumns) {
- this.props.onSetColumns(this.props.columns);
- }
- // Component just mounted, so we need to show the loading indicator.
- this.setState({
- showLoading: this.props.working,
- prevRefresh: this.props.currentRefresh || "",
- prevRoute: this.props.currentRoute || "",
- });
- }
-