added clarifying comment for formatDeviceData
This commit is contained in:
parent
88299a2b27
commit
94bcae9d5b
@ -74,6 +74,8 @@ angular.module('forms').directive('editSubmissionsFormDirective', ['$rootScope',
|
||||
if(deviceStatData && deviceStatData.length){
|
||||
for(var i=0; i<deviceStatData.length; i++){
|
||||
var currDevice = deviceStatData[i];
|
||||
|
||||
//_id here is deviceType of field due to aggregation in getVisitorData
|
||||
if(stats[currDevice._id]){
|
||||
stats[currDevice._id] = currDevice;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user