We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0111da commit 5c74693Copy full SHA for 5c74693
web-ui/src/pages/PulseReportPage.jsx
@@ -233,7 +233,9 @@ const PulseReportPage = () => {
233
pieCounts[datapoint.externalScore - 1].value++;
234
});
235
}
236
- setPieChartData(pieCounts);
+ // Filter out data with a zero value so that the pie chart does not attempt
237
+ // to display them.
238
+ setPieChartData(pieCounts.filter((p) => p.value != 0));
239
240
setScoreChartData(scoreChartDataPoints.map(day => {
241
const iScores = {};
0 commit comments