Commit 93e629fa by gutkaBinit Committed by kevalbhatt

ATLAS-3138 UI : Stats popup table layout improve for better readability --…

ATLAS-3138 UI : Stats popup table layout improve for better readability -- adding missing number format for entities list
parent 011e8546
......@@ -117,20 +117,20 @@ define(['require',
type = opt.type;
_.each(entityData, function(val, key) {
var intVal = _.isUndefined(val) ? 0 : val;
if (type == "active") {
activeEntityCount += intVal;
} else {
deletedEntityCount += intVal;
}
intVal = _.numberFormatWithComa(intVal)
if (stats[key]) {
stats[key][type] = intVal;
} else {
stats[key] = {};
stats[key][type] = intVal;
}
if (type == "active") {
activeEntityCount += intVal;
} else {
deletedEntityCount += intVal;
}
})
};
createEntityData({
"entityData": activeEntities,
"type": "active"
......@@ -167,8 +167,7 @@ define(['require',
return tableBody;
};
if (data.Notification) {
var tableCol = [
{
var tableCol = [{
label: "Total <br> (from " + (that.getValue({
"value": data.Server["startTimeStamp"],
"type": Enums.stats.Server["startTimeStamp"],
......@@ -254,4 +253,4 @@ define(['require',
}
});
return StatisticsView;
});
});
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment