diff --git a/client/src/views/record/list-pagination.js b/client/src/views/record/list-pagination.js index 12a05f1635..b6e2dcc459 100644 --- a/client/src/views/record/list-pagination.js +++ b/client/src/views/record/list-pagination.js @@ -58,7 +58,14 @@ class RecordListPagination extends View { } setup() { - this.listenTo(this.collection, 'sync', () => this.reRender()); + this.listenTo(this.collection, 'sync', () => { + if (!this.element) { + // A hack. Prevents warnings in console. + return; + } + + this.reRender(); + }); } }