mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-08-08 02:13:34 +00:00
Merge branch 'client-side-log-pagination' into open-appsec-integration
This commit is contained in:
@@ -410,12 +410,18 @@ module.exports = {
|
||||
/**
|
||||
* openappsec Log
|
||||
*/
|
||||
showOpenappsecLog: function () {
|
||||
showOpenappsecLogPage: function (page) {
|
||||
page = parseInt(page) || 1;
|
||||
let controller = this;
|
||||
if (Cache.User.isAdmin()) {
|
||||
require(['./main', './openappsec-log/main'], (App, View) => {
|
||||
controller.navigate('/openappsec-log');
|
||||
App.UI.showAppContent(new View());
|
||||
controller.navigate('/openappsec-log/page/' + page);
|
||||
|
||||
// Show the view with the data
|
||||
App.UI.showAppContent(new View({
|
||||
page: page,
|
||||
perPage: 50
|
||||
}));
|
||||
});
|
||||
} else {
|
||||
this.showDashboard();
|
||||
|
Reference in New Issue
Block a user