Patched bug with asset metrics

This commit is contained in:
Wyatt Johnson
2017-02-23 14:43:25 -07:00
parent 197569714b
commit 30b6259e87
+1 -1
View File
@@ -31,7 +31,7 @@ const getAssetMetrics = ({loaders: {Metrics, Assets}}, {from, to, sort, limit})
}, {});
// Collect just the comment id's.
let commentIDs = _.uniq(actionSummaries.map((as) => as.item_id));
let commentIDs = Object.keys(commentMetrics);
// Find those comments.
return Metrics.getSpecificComments.loadMany(commentIDs);