hynky HF staff commited on
Commit
a21beb3
1 Parent(s): 750decd
Files changed (1) hide show
  1. app/src/plot_task.js +1 -1
app/src/plot_task.js CHANGED
@@ -276,7 +276,7 @@ async function getMetricsForTask(langCode, task) {
276
  download: true,
277
  header: true,
278
  complete: function(results) {
279
- const metrics = [...new Set(results.data.map(row => row.metric))];
280
  resolve(metrics);
281
  },
282
  error: function(error) {
 
276
  download: true,
277
  header: true,
278
  complete: function(results) {
279
+ const metrics = [...new Set(results.data.map(row => row.metric).filter(metric => metric))];
280
  resolve(metrics);
281
  },
282
  error: function(error) {