We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ea50ca commit d26e8c1Copy full SHA for d26e8c1
frontend/js/app/dashboard/main.js
@@ -50,8 +50,7 @@ module.exports = Mn.View.extend({
50
onRender: function () {
51
let view = this;
52
53
- if (typeof view.stats.hosts === 'undefined') {
54
- Api.Reports.getHostStats()
+ Api.Reports.getHostStats()
55
.then(response => {
56
if (!view.isDestroyed()) {
57
view.stats.hosts = response;
@@ -61,7 +60,6 @@ module.exports = Mn.View.extend({
61
60
.catch(err => {
62
console.log(err);
63
});
64
- }
65
},
66
67
/**
0 commit comments