Skip to content

Commit

Permalink
[bugfix] filter dashboard metrics (#2673)
Browse files Browse the repository at this point in the history
Co-authored-by: Logic <[email protected]>
  • Loading branch information
Aias00 and zqr10159 authored Sep 4, 2024
1 parent 969c4a9 commit 25ee822
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ public BulletinMetricsData buildBulletinMetricsData(BulletinMetricsData.Bulletin
for (int i = 0; i < fieldList.size(); i++) {
fieldList.get(i).setValue(valueRow.getColumns(i));
}
return fieldList;
return fieldList.stream().filter(field -> fields.contains(field.getKey())).toList();
})
.toList();
} else {
Expand Down

0 comments on commit 25ee822

Please sign in to comment.