mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-08-07 18:03:33 +00:00
Filtered log views
This commit is contained in:
@@ -14,12 +14,6 @@ let TableBody = Mn.CollectionView.extend({
|
||||
this.listenTo(this.options, 'change:page', this.updatePage);
|
||||
},
|
||||
|
||||
setPage: function (page) {
|
||||
this.page = page;
|
||||
this.updatePage();
|
||||
this.render();
|
||||
},
|
||||
|
||||
updatePage: function () {
|
||||
let models = this.collection.models.slice((this.page - 1) * this.perPage, this.page * this.perPage);
|
||||
this.collection.reset(models);
|
||||
|
Reference in New Issue
Block a user