mirror of
https://github.com/wassname/talk.git
synced 2026-10-04 13:10:23 +08:00
Merged branch assets-by-like into assets-by-like
This commit is contained in:
commit
2a0f4906a7
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user