Merge branch 'master' into 138617379_best_comments

This commit is contained in:
Wyatt Johnson
2017-03-01 11:46:04 -07:00
committed by GitHub
12 changed files with 96 additions and 33 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ const getAssetMetrics = ({loaders: {Metrics, Assets, Comments}}, {from, to, sort
.filter((asset) => {
let contextActionSummary = asset.action_summaries.find((({action_type}) => action_type === sort));
if (contextActionSummary === null) {
if (contextActionSummary === null || contextActionSummary.actionCount === 0) {
return false;
}