We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8351dd4 + d26e8c1 commit fcf4117Copy full SHA for fcf4117
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