mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-06-18 18:16:26 +00:00
Form design for proxy hosts, audit log base
This commit is contained in:
@ -204,15 +204,18 @@ module.exports = {
|
||||
},
|
||||
|
||||
/**
|
||||
* Dashboard
|
||||
* Audit Log
|
||||
*/
|
||||
showProfile: function () {
|
||||
showAuditLog: function () {
|
||||
let controller = this;
|
||||
|
||||
require(['./main', './profile/main'], (App, View) => {
|
||||
controller.navigate('/profile');
|
||||
App.UI.showAppContent(new View());
|
||||
});
|
||||
if (Cache.User.isAdmin()) {
|
||||
require(['./main', './audit-log/main'], (App, View) => {
|
||||
controller.navigate('/audit-log');
|
||||
App.UI.showAppContent(new View());
|
||||
});
|
||||
} else {
|
||||
this.showDashboard();
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user