1
0
Fork 0

ui - fixed calculaction issue

This commit is contained in:
hkernbach 2017-03-22 11:54:58 +01:00
parent 455867035d
commit af8401b7ee
1 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
/* jshint browser: true */
/* jshint unused: false */
/* global Backbone, $, window, arangoHelper, nv, d3 */
/* global document, console, frontendConfig, Dygraph, _,templateEngine */
/* global Backbone, $, window, arangoHelper, nv, d3, prettyBytes */
/* global document, console, frontendConfig, Dygraph, _,templateEngine*/
(function () {
'use strict';
@ -715,7 +715,7 @@
}
var currentP = fmtNumber(self.history[self.server].residentSizePercent * 100, 2);
var data = [fmtNumber(self.history[self.server].physicalMemory / 1024 / 1024 / 1024, 0) + ' GB'];
var data = [prettyBytes(self.history[self.server].physicalMemory)];
if (self.history[self.server].residentSizeChart === undefined) {
this.addEmptyDataLabels();