mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-05-07 06:22:29 +00:00
Compare commits
No commits in common. "fcf4117f8ed5bdef8d6683509f59b41b6d6c1ba5" and "8351dd41f605828f1c5b5213101ee23261724591" have entirely different histories.
fcf4117f8e
...
8351dd41f6
@ -50,7 +50,8 @@ module.exports = Mn.View.extend({
|
||||
onRender: function () {
|
||||
let view = this;
|
||||
|
||||
Api.Reports.getHostStats()
|
||||
if (typeof view.stats.hosts === 'undefined') {
|
||||
Api.Reports.getHostStats()
|
||||
.then(response => {
|
||||
if (!view.isDestroyed()) {
|
||||
view.stats.hosts = response;
|
||||
@ -60,6 +61,7 @@ module.exports = Mn.View.extend({
|
||||
.catch(err => {
|
||||
console.log(err);
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user