Improve cpu and memory chart in control panel
This commit is contained in:
parent
667b18fe24
commit
c2b882a5d7
5 changed files with 26 additions and 18 deletions
|
|
@ -122,7 +122,7 @@ export default Vue.extend({
|
|||
this.memP = (stats.mem.used / stats.mem.total * 100).toFixed(0);
|
||||
},
|
||||
onStatsLog(statsLog) {
|
||||
statsLog.forEach(stats => this.onStats(stats));
|
||||
statsLog.reverse().forEach(stats => this.onStats(stats));
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue