Merge branch 'fix-for-ram-percent' into 'dev'
Fix for ram percentage not showing issue See merge request Shinobi-Systems/Shinobi!483node-20
commit
befe836ca7
|
|
@ -172,7 +172,7 @@ onWebSocketEvent(function (d){
|
|||
cpuIndicatorBar.css('width',cpuPercent)
|
||||
cpuIndicatorPercentText.html(cpuPercent)
|
||||
//ram
|
||||
var ramPercent = d.ram.percent.toFixed(1) + '%'
|
||||
var ramPercent = parseFloat(d.ram.percent).toFixed(1) + '%'
|
||||
ramIndicatorBar.css('width',ramPercent)
|
||||
ramIndicatorPercentText.html(ramPercent)
|
||||
ramIndicatorUsed.html(d.ram.used.toFixed(2))
|
||||
|
|
|
|||
Loading…
Reference in New Issue