diff --git a/src/renderers/CRUD.tsx b/src/renderers/CRUD.tsx index 316a76a38..357d73579 100644 --- a/src/renderers/CRUD.tsx +++ b/src/renderers/CRUD.tsx @@ -465,13 +465,16 @@ export default class CRUD extends React.Component { } componentDidMount() { - const store = this.props.store; + const {store, autoGenerateFilter} = this.props; if (this.props.perPage) { store.changePage(store.page, this.props.perPage); } - if (!this.props.filter || (store.filterTogggable && !store.filterVisible)) { + if ( + (!this.props.filter || (store.filterTogggable && !store.filterVisible)) && + !autoGenerateFilter + ) { this.handleFilterInit({}); }